Searched refs:half (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/lib/libm/common/Q/
H A Datanhl.c50 static const long double zero = 0.0L, half = 0.5L, one = 1.0L; variable
60 return (copysignl(half, x) * log1pl(t + t));
H A Dlog2l.c49 half = 0.5L, variable
63 if (x == half)
H A Dexp2l.c48 half = 0.5L, variable
67 if (t < half) {
H A Dremainderl.c39 * integer nearest x/p (in half way case choose the even one).
49 half = 0.5L, variable
50 hfmax = HFMAX, /* half of the maximum number */
77 hp = half * p;
H A Dsinhl.c69 half = 0.5L, variable
84 r = copysignl((t + t / (one + t)) * half, x);
H A Dasinl.c46 static const long double zero = 0.0L, small = 1.0e-20L, half = 0.5L, one = 1.0L; variable
61 else if (w <= half) {
H A Dcoshl.c54 * thr1 a number that is near one half of ln2.
77 half = 0.5L, variable
101 return (half * (t + one / t));
103 return (half * expl(w));
/illumos-gate/usr/src/test/elf-tests/tests/tls/i386/ld/
H A Di386-ld-test.sh39 dis_test "call-->nop" main half-ldm \
42 ./half-ldm | grep_test 'half-ldm execution' \
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexp2.c55 #define half C[2] macro
86 k = (int)((ix < 0)? x - half : x + half);
H A Dexp10.c62 #define half C[5] macro
106 k = (int)((ix < 0)? t - half : t + half);
H A Dremainder.c37 * where [x/p] is the (inifinite bit) integer nearest x/p (in half way
45 static const double zero = 0.0, half = 0.5; variable
77 halfp = half * p;
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dcoshl.c54 * 0.3465 a number that is near one half of ln2.
77 #define half C[0] macro
102 return (half * (t + one / t));
105 return (half * expl(w));
H A Datanhl.c62 half = (GENERIC) 0.5, variable
72 return COPYSIGN(half,x)*LOG1P(t+t);
H A Dsinhl.c67 #define half C[0] macro
82 r = copysignl((t + t / (one + t)) * half, x);
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_lseek.c36 uint32_t half[2]; /* two 32-bit halves */ member in union:__anon4050
76 adp->arg_value = off.half[0]; /* first 32 bits */
82 adp->arg_value = off.half[1]; /* second 32 bits */
106 off.half[0] = (uint32_t)rval.sys_rval1;
107 off.half[1] = (uint32_t)rval.sys_rval2;
151 adp->arg_value = off.half[0]; /* first 32 bits */
157 adp->arg_value = off.half[1]; /* second 32 bits */
181 off.half[0] = (uint32_t)rval.sys_rval1;
182 off.half[1] = (uint32_t)rval.sys_rval2;
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcsqrt.c116 half = 0.5; variable
170 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay)));
182 t = sqrt(half * ay);
184 t = sqrt(half * ay + half * ax);
186 t = half * sqrt(two * (ay + ax));
188 t = sqrt(half * (ay + ax));
198 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay)));
H A Dcsqrtl.c43 half = 0.5L, variable
100 t = sqrtl(half * (ax + sqrtl(ax * ax + y * y)));
117 t = sqrtl(half * ay);
119 t = sqrtl(half * ay + half * ax);
121 t = half * (sqrtl(two * (ax + ay)));
123 t = sqrtl(half * (ax + ay));
133 t = sqrtl(half * (ax + sqrtl(ax * ax + y * y)));
H A Dcatan.c85 half = 0.5, variable
149 D_IM(ans) = half * log1p(two / (-t));
152 D_IM(ans) = half * log1p((ay + ay) / t);
175 D_RE(ans) = half * atan2(two, (one - ax) * (one +
217 D_RE(ans) = half * atan2(two, -ax);
219 D_IM(ans) = half * (ln2 - log(ax));
255 D_RE(ans) = half * atan2(ax + ax, (one - ay) * (one + ay));
257 D_IM(ans) = half * log1p(two / (ay - one));
259 D_IM(ans) = half * log1p((ay + ay) / (one - ay));
276 D_RE(ans) = half * (atan
[all...]
H A Dcatanl.c113 half = 0.5L, variable
180 LD_IM(ans) = half * log1pl(two / (-t));
183 LD_IM(ans) = half * log1pl((ay + ay) / t);
222 LD_RE(ans) = half * atan2l(two, (one - ax) * (one +
254 LD_RE(ans) = half * atan2l(two, -ax);
256 LD_IM(ans) = half * (ln2 - logl(ax));
292 LD_RE(ans) = half * atan2l(ax + ax, (one - ay) * (one + ay));
294 LD_IM(ans) = half * log1pl(two / (ay - one));
296 LD_IM(ans) = half * log1pl((ay + ay) / (one - ay));
313 LD_RE(ans) = half * (atan2
[all...]
H A Dclog.c68 static const double half = 0.5, one = 1.0; variable
112 D_RE(ans) = half * log1p(ay * ay);
116 D_RE(ans) = half * (log1p(ay * ay + (ax -
127 D_RE(ans) = half * log(ax * ax + ay * ay);
130 D_RE(ans) = log(ax) + half * log1p(t * t);
H A Dclogl.c45 static const long double zero = 0.0L, half = 0.5L, one = 1.0L; variable
85 LD_RE(ans) = half * log1pl(ay * ay);
89 LD_RE(ans) = half * (log1pl(ay * ay + (ax -
99 LD_RE(ans) = half * logl(ax * ax + ay * ay);
102 LD_RE(ans) = logl(ax) + half * log1pl(t * t);
H A Dcacos.c215 half = 0.5; variable
360 D_IM(ans) = ln2 + log(y) + half * log1p(t * t);
368 D_IM(ans) = half * log1p((y + y) * (y + A));
375 A = half * (R + S);
382 D_RE(ans) = atan(sqrt(half * Apx * (y2 / (R +
385 D_RE(ans) = atan((y * sqrt(half * (Apx / (R +
391 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1));
393 Am1 = half * (y2 / (R + xp1) + (S + xm1));
H A Dcasin.c211 half = 0.5; variable
332 D_IM(ans) = ln2 + log(y) + half * log1p(t * t);
340 D_IM(ans) = half * log1p((y + y) * (y + A));
347 A = half * (R + S);
355 D_RE(ans) = atan(x / sqrt(half * Apx * (y2 /
358 D_RE(ans) = atan(x / (y * sqrt(half * (Apx /
364 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1));
366 Am1 = half * (y2 / (R + xp1) + (S + xm1));
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dlog1p.c122 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ local
137 { k += 1 ; z *= half; t *= half; }
142 s = x/(2+x); t = x*x*half;
H A Dexp__E.c117 const static double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; local
128 xh= x*half ;
132 return(z*half+c);

Completed in 219 milliseconds

12345