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

1 2

  /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_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);
e_rem_pio2.c 48 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
98 n = (int32_t) (t*invpio2+half);
e_rem_pio2f.c 81 half = 5.0000000000e-01, /* 0x3f000000 */ variable in typeref:typename:const float
129 n = (int32_t) (t*invpio2+half);
e_lgammaf_r.c 26 half= 5.0000000000e-01, /* 0x3f000000 */ variable in typeref:typename:const float
212 r = half*y+p/q;
228 r = (x-half)*(t-one)+w;
s_erf.c 118 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
266 r += (x-half);
267 return half - r ;
s_erff.c 26 half= 5.0000000000e-01, /* 0x3F000000 */ variable in typeref:typename:const float
175 r += (x-half);
176 return half - r ;
e_lgamma_r.c 90 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
276 r = half*y+p/q;
292 r = (x-half)*(t-one)+w;
  /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_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_erf.c 165 half = 0.5, variable in typeref:typename:const double
353 r += (x-half);
354 return (half - r);
  /src/sys/arch/x68k/stand/aout2hux/
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);
  /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);
  /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);
  /src/games/gomoku/
bdisp.c 135 int half = remaining / 2; local in function:bdwho
137 if (bw <= half)
139 else if (ww <= half)
142 bw = half, ww = remaining - half;
  /src/sys/arch/powerpc/powerpc/
fix_unaligned.c 380 half = flags & UAF_HALF, local in function:do_lst
392 if (half)
397 if (half) {
414 if (half)
  /src/lib/libc/db/btree/
bt_split.c 416 * instead of copying half the data to the right page and compacting
605 * l: page to put lower half of data
606 * r: page to put upper half of data
622 indx_t full, half, nxt, off, skip, top, used; local in function:bt_psplit
638 half = full / 2;
694 if (used >= half) {
  /src/lib/libcurses/
slk.c 704 int i, half; local in function:__slk_resize
706 half = screen->slk_nlabels / 2;
710 /* Split labels in half */
711 if (i == half - 1)
712 x = cols - (screen->slk_label_len * half) + 1;
  /src/sys/dev/tc/
mfb.c 534 /* pad right half 32 pixel when smaller than 33 */
539 int half; local in function:mfbintr
544 half = (flip[msk] << 8) | flip[img];
545 REGWRITE32(curs, bt_ram, half);

Completed in 30 milliseconds

1 2