Home | History | Annotate | Download | only in b_BasicEm

Lines Matching refs:valA

46 #define bbs_abs( valA ) ( ( valA ) > 0 ? ( valA ) : -( valA ) )
53 * satisfies r * r <= valA.
54 * This behavior is identical with (uint16)sqrt( valA ).
57 uint16 bbs_sqrt32( uint32 valA );
62 * satisfies r * r <= valA.
63 * This behavior is identical with (uint8)sqrt( valA ).
65 uint8 bbs_sqrt16( uint16 valA );
68 uint16 bbs_fastSqrt32( uint32 valA );
73 uint32 bbs_invSqrt32( uint32 valA );
78 int32 bbs_inv32( int32 valA );
80 /** Returns integer log2 of valA
83 uint32 bbs_intLog2( uint32 valA );
87 * Format of valA: 0.32
90 uint32 bbs_pow2M1( uint32 valA );
94 * Format of valA: 5.27
97 uint32 bbs_pow2( int32 valA );
102 * If valA is smaller than -11.0903, the function returns 0
103 * If valA is larger than 11.0903, the function returns ( 2^32 - 1 ) / ( 2^16 )
104 * Format of valA: 5.27
108 uint32 bbs_exp( int32 valA );
111 int16 bbs_satS16( int32 valA );
116 /* int32 bbs_round( int32 valA, int32 bbpA ); */
124 /** Fermi function ( 1.0 / ( 1.0 + exp( -valA ) ) )
125 * Format valA: 16.16
128 int32 bbs_fermi( int32 valA );