Skip to content
Snippets Groups Projects
Commit e823f8e5 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 09/12/2019: BITREP without floor

parent 6f6c7bea
No related branches found
No related tags found
No related merge requests found
......@@ -823,7 +823,13 @@ double __internal_exp_kernel(double x, int scale)
double t, z;
int i;
#if 0
t = std::floor (x*1.4426950408889634e+0 + 4.99999999999999945e-1);
#else
t = x*1.4426950408889634e+0 + 4.99999999999999945e-1;
if (t<0) {t=t-1.;}
t=(int)t;
#endif
i = (int)t;
z = __BITREPFMA(t, -6.9314718055994529e-1, x);
z = __BITREPFMA(t, -2.3190468138462996e-17, z);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment