HomeSort by: relevance | last modified time | path
    Searched defs:half (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/lib/libm/src/
e_coshf.c 25 static const float one = 1.0, half=0.5; variable in typeref:typename:const float
50 return half*t+half/t;
53 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
54 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x));
58 w = __ieee754_expf(half*fabsf(x));
59 t = half*w;
e_coshf.c 25 static const float one = 1.0, half=0.5; variable in typeref:typename:const float
50 return half*t+half/t;
53 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
54 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x));
58 w = __ieee754_expf(half*fabsf(x));
59 t = half*w;
e_cosh.c 42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable in typeref:typename:const double
69 return half*t+half/t;
72 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
79 w = __ieee754_exp(half*fabs(x));
80 t = half*w;
e_cosh.c 42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable in typeref:typename:const double
69 return half*t+half/t;
72 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
79 w = __ieee754_exp(half*fabs(x));
80 t = half*w;
k_sin.c 50 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
71 else return x-((z*(half*y-v*r)-y)-v*S1);
k_sinf.c 25 half = 5.0000000000e-01,/* 0x3f000000 */ variable in typeref:typename:const float
46 else return x-((z*(half*y-v*r)-y)-v*S1);
k_sin.c 50 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
71 else return x-((z*(half*y-v*r)-y)-v*S1);
k_sinf.c 25 half = 5.0000000000e-01,/* 0x3f000000 */ variable in typeref:typename:const float
46 else return x-((z*(half*y-v*r)-y)-v*S1);
  /src/lib/libm/noieee_src/
n_cosh.c 66 * Note: .3465 is a number near one half of ln2.
117 static const double half=1.0/2.0, variable in typeref:typename:const double
130 { t=exp(x); return((t+one/t)*half); }
140 return(exp(x)*half); /* for large x, cosh(x)=exp(x)/2 */
n_sinh.c 111 static const double one=1.0, half=1.0/2.0 ; local in function:sinh
119 {t=expm1(x); return(copysign((t+t/(one+t))*half,sign));}
n_cosh.c 66 * Note: .3465 is a number near one half of ln2.
117 static const double half=1.0/2.0, variable in typeref:typename:const double
130 { t=exp(x); return((t+one/t)*half); }
140 return(exp(x)*half); /* for large x, cosh(x)=exp(x)/2 */
n_sinh.c 111 static const double one=1.0, half=1.0/2.0 ; local in function:sinh
119 {t=expm1(x); return(copysign((t+t/(one+t))*half,sign));}
n_exp__E.c 113 static const double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; variable in typeref:typename:const double
124 xh= x*half ;
128 return(z*half+c);
n_expm1.c 123 static const double one=1.0, half=1.0/2.0; local in function:expm1
143 {x=z+half;x +=__exp__E(z,c); return(x+x);}
145 {z+=__exp__E(z,c); x=half+z; return(x+x);}
n_log1p.c 127 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ local in function:__weak_alias
142 { k += 1 ; z *= half; t *= half; }
147 s = x/(2+x); t = x*x*half;
n_exp__E.c 113 static const double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; variable in typeref:typename:const double
124 xh= x*half ;
128 return(z*half+c);
n_expm1.c 123 static const double one=1.0, half=1.0/2.0; local in function:expm1
143 {x=z+half;x +=__exp__E(z,c); return(x+x);}
145 {z+=__exp__E(z,c); x=half+z; return(x+x);}
n_log1p.c 127 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ local in function:__weak_alias
142 { k += 1 ; z *= half; t *= half; }
147 s = x/(2+x); t = x*x*half;
  /src/sys/arch/x68k/stand/aout2hux/
type_local.h 33 be_uint16_t half[2]; member in union:be_uint32
type_local.h 33 be_uint16_t half[2]; member in union:be_uint32
  /src/tests/lib/libc/gen/
t_closefrom.c 84 int buf[16], cur, half; local in function:ATF_TC_BODY
88 * Open a buffer of descriptors, close the half of
104 half = STDERR_FILENO + __arraycount(buf) / 2;
105 ATF_REQUIRE(closefrom(half) == 0);
108 ATF_REQUIRE(cur == half - 1);
t_closefrom.c 84 int buf[16], cur, half; local in function:ATF_TC_BODY
88 * Open a buffer of descriptors, close the half of
104 half = STDERR_FILENO + __arraycount(buf) / 2;
105 ATF_REQUIRE(closefrom(half) == 0);
108 ATF_REQUIRE(cur == half - 1);
  /src/lib/libm/ld80/
k_sinl.c 22 half = 0.5; variable in typeref:typename:const double
59 else return x-((z*(half*y-v*r)-y)-v*S1);
k_sinl.c 22 half = 0.5; variable in typeref:typename:const double
59 else return x-((z*(half*y-v*r)-y)-v*S1);
  /src/lib/libm/ld128/
k_sinl.c 22 half = 0.5; variable in typeref:typename:const double
56 else return x-((z*(half*y-v*r)-y)-v*S1);

Completed in 157 milliseconds

1 2 3