/illumos-gate/usr/src/lib/libm/common/complex/ |
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 | csinhf.c | 38 static const float zero = 0.0F, half = 0.5F; variable 84 t = expf(x) * half;
|
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 | catanf.c | 41 half = 0.5F, variable 99 F_IM(ans) = half * log1pf(two / (-t)); 102 F_IM(ans) = half * log1pf((ay + ay) / t);
|
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 | 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 | 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 | cacosl.c | 42 half = 0.5L, variable 226 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t); 234 LD_IM(ans) = half * log1pl((y + y) * (y + A)); 242 A = half * (R + S); 250 LD_RE(ans) = atan2l(sqrtl(half * Apx * (y2 / 253 LD_RE(ans) = atan2l((y * sqrtl(half * (Apx / 259 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); 261 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 | 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);
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | __rem_pio2.c | 53 half = 0.5, variable 94 n = (int)(t * invpio2 + half);
|
H A D | exp.c | 271 #define half C[0] macro 304 return (one + x * (one + half * x)); 307 y = x + (t * (half + x * t2) + 320 y = z + (t * (half + z * t2) + 339 t -= half; 341 t += half; 349 y = z + (t * (half + z * t2) + (t * t) * (t3 + z * t4 + t * t5));
|
H A D | __rem_pio2m.c | 159 half = 0.5, variable 222 } else if (z >= half) {
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | erfl.c | 104 half = 0.5L, variable 322 t = half-x; 324 return half+t;
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | erfl.c | 105 half = 0.5L, variable 322 t = half-x; 324 return half+t;
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | cosf.c | 69 #define half C[10] macro 117 n = (int)(w - half); 119 n = (int)(w + half);
|
H A D | sinf.c | 69 #define half C[10] macro 117 n = (int)(w - half); 119 n = (int)(w + half);
|
H A D | sincosf.c | 91 #define half C[10] macro 148 n = (int)(w - half); 150 n = (int)(w + half);
|
H A D | tanf.c | 69 #define half C[12] macro 126 n = (int)(w - half); 128 n = (int)(w + half);
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquof.c | 52 static const float zero = 0.0F, half = 0.5F; variable 251 v = half * y;
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __flt_decim.c | 214 #define half C[2].d macro 253 *pe = (nrx * twom53 * *x < half - rmx)? 1 : 2;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_ordering.c | 67 * mask(max) is 2 ** 64 - 1, and half is 2 ** 63. 69 * 0 half mask 71 * half range ( 2 ** 63 ) 74 * in the "half range", normal integer comparison is enough. 76 * If the distance is bigger than half of the range, one of them must 82 * the distance will be in half range again. 85 * happen too often. If the distance is really bigger than half range, 86 * (1 is expected, but half + 2 arrives) we really don't know if it's a 94 gssint_uint64 half; local 104 half [all...] |