Searched refs:kln2 (Results 1 - 4 of 4) sorted by relevance

/seL4-camkes-master/projects/musllibc/src/math/
H A D__expo2.c3 /* k is such that k*ln2 has minimal relative error and x - kln2 > log(DBL_MIN) */
5 static const double kln2 = 0x1.62066151add8bp+10; variable
15 return exp(x - kln2) * scale * scale;
H A D__expo2f.c3 /* k is such that k*ln2 has minimal relative error and x - kln2 > log(FLT_MIN) */
5 static const float kln2 = 0x1.45c778p+7f; variable
15 return expf(x - kln2) * scale * scale;
/seL4-camkes-master/projects/musllibc/src/complex/
H A D__cexp.c31 static const double kln2 = 1246.97177782734161156; /* k * ln2 */ variable
46 * We use exp(x) = exp(x - kln2) * 2**k, carefully chosen to
47 * minimize |exp(kln2) - 2**k|. We also scale the exponent of
51 exp_x = exp(x - kln2);
H A D__cexpf.c31 static const float kln2 = 162.88958740F; /* k * ln2 */ variable
44 exp_x = expf(x - kln2);

Completed in 96 milliseconds