/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | atanhl.c | 50 static const long double zero = 0.0L, half = 0.5L, one = 1.0L; variable 60 return (copysignl(half, x) * log1pl(t + t));
|
H A D | log2l.c | 49 half = 0.5L, variable 63 if (x == half)
|
H A D | asinl.c | 46 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 D | exp2l.c | 48 half = 0.5L, variable 67 if (t < half) {
|
H A D | remainderl.c | 39 * 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 D | sinhl.c | 69 half = 0.5L, variable 84 r = copysignl((t + t / (one + t)) * half, x);
|
H A D | coshl.c | 54 * 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/lib/libm/common/C/ |
H A D | exp2.c | 55 #define half C[2] macro 86 k = (int)((ix < 0)? x - half : x + half);
|
H A D | exp10.c | 62 #define half C[5] macro 106 k = (int)((ix < 0)? t - half : t + half);
|
H A D | remainder.c | 37 * 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 D | coshl.c | 54 * 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 D | atanhl.c | 62 half = (GENERIC) 0.5, variable 72 return COPYSIGN(half,x)*LOG1P(t+t);
|
H A D | sinhl.c | 67 #define half C[0] macro 82 r = copysignl((t + t / (one + t)) * half, x);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 36 uint32_t half[2]; /* two 32-bit halves */ member in union:__anon3802 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 D | csqrt.c | 116 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 D | csqrtl.c | 43 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 D | catan.c | 85 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 D | catanl.c | 113 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 D | clog.c | 68 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 D | clogl.c | 45 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 D | cacos.c | 215 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 D | casin.c | 211 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));
|
H A D | casinl.c | 42 half = 0.5L, variable 186 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t); 194 LD_IM(ans) = half * log1pl((y + y) * (y + A)); 201 A = half * (R + S); 208 LD_RE(ans) = atanl(x / sqrtl(half * Apx * (y2 / 211 LD_RE(ans) = atanl(x / (y * sqrtl(half * (Apx / 217 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); 219 Am1 = half * (y2 / (R + xp1) + (S + xm1));
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | log1p.c | 122 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 D | exp__E.c | 117 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);
|