Lines Matching refs:FL2FXCONST_DBL
101 FL2FXCONST_DBL(-1.0),
102 FL2FXCONST_DBL(-1.0/2.0),
103 FL2FXCONST_DBL(-1.0/3.0),
104 FL2FXCONST_DBL(-1.0/4.0),
105 FL2FXCONST_DBL(-1.0/5.0),
106 FL2FXCONST_DBL(-1.0/6.0),
107 FL2FXCONST_DBL(-1.0/7.0),
108 FL2FXCONST_DBL(-1.0/8.0),
109 FL2FXCONST_DBL(-1.0/9.0),
110 FL2FXCONST_DBL(-1.0/10.0)
181 FL2FXCONST_DBL(0.693147180559945309417232121458177), /* ln(2)^1 /1! */
182 FL2FXCONST_DBL(0.240226506959100712333551263163332), /* ln(2)^2 /2! */
183 FL2FXCONST_DBL(0.0555041086648215799531422637686218), /* ln(2)^3 /3! */
184 FL2FXCONST_DBL(0.00961812910762847716197907157365887), /* ln(2)^4 /4! */
185 FL2FXCONST_DBL(0.00133335581464284434234122219879962), /* ln(2)^5 /5! */
186 FL2FXCONST_DBL(1.54035303933816099544370973327423e-4), /* ln(2)^6 /6! */
187 FL2FXCONST_DBL(1.52527338040598402800254390120096e-5), /* ln(2)^7 /7! */
188 FL2FXCONST_DBL(1.32154867901443094884037582282884e-6) /* ln(2)^8 /8! */
288 int set_zero = (x < FL2FXCONST_DBL(-31.0/64.0))? 0 : 1; in CalcInvLdData()
289 int set_max = (x >= FL2FXCONST_DBL( 31.0/64.0)) | (x == FL2FXCONST_DBL(0.0)); in CalcInvLdData()
295 int exp = (x > FL2FXCONST_DBL(0.0f)) ? (31 - (int)(x>>25)) : (int)(-(x>>25)); in CalcInvLdData()
308 retVal=FL2FXCONST_DBL(1.0f); in CalcInvLdData()
432 if (val == FL2FXCONST_DBL(0.0)) { in invSqrtNorm2()
439 FDK_ASSERT(val > FL2FXCONST_DBL(0.0)); in invSqrtNorm2()
446 reg2 = FL2FXCONST_DBL(0.0625f); /* 0.5 >> 3 */ in invSqrtNorm2()
454 reg2 = FL2FXCONST_DBL(0.707106781186547524400844362104849f); /* 1/sqrt(2); */ in invSqrtNorm2()
653 if( frac_part > FL2FXCONST_DBL(0.5f) ) in f2Pow()
656 frac_part = frac_part + FL2FXCONST_DBL(-1.0f); in f2Pow()
658 if( frac_part < FL2FXCONST_DBL(-0.5f) ) in f2Pow()
661 frac_part = -(FL2FXCONST_DBL(-1.0f) - frac_part); in f2Pow()
671 result_m = FL2FXCONST_DBL(1.0f/2.0f); in f2Pow()
801 result = fDivNorm( FL2FXCONST_DBL(0.5f), result, &result_e ); in fPowInt()
817 result = FL2FXCONST_DBL(0.5f); in fPowInt()
829 if ( x_m <= FL2FXCONST_DBL(0.0f) ) { in fLog2()
831 return FL2FXCONST_DBL(-1.0f); in fLog2()
849 x2_m = - (x2_m + FL2FXCONST_DBL(-1.0) ); in fLog2()
852 result_m = FL2FXCONST_DBL(0.0); in fLog2()
859 …result_m = fMultAddDiv2(result_m, result_m, FL2FXCONST_DBL(2.0*0.4426950408889634073599246810019)); in fLog2()
882 if ( x_m <= FL2FXCONST_DBL(0.0f) ) { in fLog2()
883 x_m = FL2FXCONST_DBL(-1.0f); in fLog2()