Searched defs:one (Results 1 - 25 of 53) sorted by relevance

123

/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_acosh.c38 one = 1.0, variable
59 return __ieee754_log(2.0*x-one/(x+sqrt(t-one)));
61 t = x-one;
H A De_acoshf.c23 one = 1.0, variable
43 return __ieee754_logf((float)2.0*x-one/(x+__ieee754_sqrtf(t-one)));
45 t = x-one;
H A De_atanh.c41 static const double one = 1.0, huge = 1e300; variable
60 t = 0.5*log1p(t+t*x/(one-x));
62 t = 0.5*log1p((x+x)/(one-x));
H A De_atanhf.c22 static const float one = 1.0, huge = 1e30; variable
41 t = (float)0.5*log1pf(t+t*x/(one-x));
43 t = (float)0.5*log1pf((x+x)/(one-x));
H A De_cosh.c41 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
59 w = one+t;
61 return one+(t*t)/(w+w);
H A De_coshf.c22 static const float one = 1.0, half=0.5, huge = 1.0e30; variable
39 w = one+t;
40 if (ix<0x39800000) return one; /* cosh(tiny) = 1 */
41 return one+(t*t)/(w+w);
H A De_sinh.c38 static const double one = 1.0, shuge = 1.0e307; variable
58 if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */
60 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one));
61 return h*(t+t/(t+one));
H A De_sinhf.c22 static const float one = 1.0, shuge = 1.0e37; variable
41 if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */
43 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one));
44 return h*(t+t/(t+one));
H A Dk_cosf.c27 one = 1.0, variable
45 return ((one+z*C0) + w*C1) + (w*z)*r;
H A Ds_asinh.c33 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
46 if(huge+x>one) return x; /* return x inexact except 0 */
52 w = __ieee754_log(2.0*t+one/(__ieee754_sqrt(x*x+one)+t));
55 w =log1p(fabs(x)+t/(one+__ieee754_sqrt(one+t)));
H A Ds_asinhf.c23 one = 1.0000000000e+00, /* 0x3F800000 */ variable
36 if(huge+x>one) return x; /* return x inexact except 0 */
42 w = __ieee754_logf((float)2.0*t+one/(__ieee754_sqrtf(x*x+one)+t));
45 w =log1pf(fabsf(x)+t/(one+__ieee754_sqrtf(one+t)));
H A Ds_modf.c30 static const double one = 1.0; variable
62 *iptr = x*one;
H A Ds_modff.c22 static const float one = 1.0; variable
50 *iptr = x*one;
H A Ds_tanh.c43 static const double one = 1.0, two = 2.0, tiny = 1.0e-300, huge = 1.0e300; variable
56 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */
57 else return one/x-one; /* tanh(NaN) = NaN */
63 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */
67 z = one - two/(t+two);
74 z = one - tiny; /* raise inexact flag */
H A Ds_tanhf.c22 static const float one=1.0, two=2.0, tiny = 1.0e-30, huge = 1.0e30; variable
34 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */
35 else return one/x-one; /* tanh(NaN) = NaN */
41 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */
45 z = one - two/(t+two);
52 z = one - tiny; /* raise inexact flag */
H A De_asinf.c23 one = 1.0000000000e+00, /* 0x3F800000 */ variable
48 if(huge+x>one) return x;/* return x with inexact if x!=0*/
52 q = one+t*qS1;
57 w = one-fabsf(x);
60 q = one+t*qS1;
H A De_asinl.c30 one = 1.00000000000000000000e+00, variable
49 if(huge+x>one) return x;/* return x with inexact if x!=0*/
58 w = one-fabsl(x);
H A De_fmod.c26 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
129 x *= one; /* create necessary signal */
H A De_fmodf.c28 static const float one = 1.0, Zero[] = {0.0, -0.0,}; variable
101 x *= one; /* create necessary signal */
H A De_sqrtf.c23 static const float one = 1.0, tiny=1.0e-30; variable
76 z = one-tiny; /* trigger inexact flag */
77 if (z>=one) {
78 z = one+tiny;
79 if (z>one)
H A Dk_cos.c60 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
77 w = one-hz;
78 return w + (((one-w)-hz) + (z*r-x*y));
H A Ds_atan.c20 * is further reduced to one of the following intervals and the
70 one = 1.0, variable
91 if(huge+x>one) return x; /* raise inexact */
98 id = 0; x = (2.0*x-one)/(2.0+x);
100 id = 1; x = (x-one)/(x+one);
104 id = 2; x = (x-1.5)/(one+1.5*x);
H A Ds_atanf.c45 one = 1.0, variable
63 if(huge+x>one) return x; /* raise inexact */
70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x);
72 id = 1; x = (x-one)/(x+one);
76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x);
H A Ds_atanl.c29 one = 1.0, variable
56 if(huge+x>one) return x; /* raise inexact */
63 id = 0; x = (2.0*x-one)/(2.0+x);
65 id = 1; x = (x-one)/(x+one);
69 id = 2; x = (x-1.5)/(one+1.5*x);
H A De_acosl.c30 one= 1.00000000000000000000e+00; variable
67 z = (one+x)*0.5;
75 z = (one-x)*0.5;

Completed in 97 milliseconds

123