/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | significand.c | 36 int ix = ((int *) &x)[HIWORD] & ~0x80000000; local 39 if ((ix | ((int *) &x)[LOWORD]) == 0 || ix >= 0x7ff00000) 41 return ((ix & 0x80000) != 0 ? x : x + x);
|
H A D | atan2pi.c | 39 int ix, iy; local 42 ix = ((int *)&x)[HIWORD]; 44 if (ix >= 0)
|
H A D | tan.c | 50 int n, ix; local 53 ix = ((int *) &x)[HIWORD]; 56 ix &= 0x7fffffff; 57 if (ix <= 0x3fe921fb) 61 else if (ix >= 0x7ff00000) { 63 return (ix >= 0x7ff80000 ? x : x - x); /* NaN */
|
H A D | remainder.c | 50 int ix, hx, hp; local 52 ix = ((int *)&x)[HIWORD]; 53 hx = ix & ~0x80000000; 71 return ((ix < 0)? -zero : zero); 80 return ((ix < 0)? -zero : zero); 86 return ((ix < 0)? -x : x);
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | significandf.c | 36 int ix = *(int *) &x & ~0x80000000; local 38 if (ix == 0 || ix >= 0x7f800000) /* 0/+-Inf/NaN */ 40 return (ix > 0x7f800000 ? x * x : x);
|
H A D | acosf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
|
H A D | asinf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
|
H A D | atanhf.c | 37 int ix; local 39 ix = *((int *)&x) & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */ 42 if (ix == 0x3f800000) /* |x| == 1 */
|
H A D | log1pf.c | 37 int ix; local 39 ix = *(int *)&x; 40 if (ix >= 0x7f800000) { 44 if (ix < 0) { 45 ix &= ~0x80000000; 46 if (ix == 0x3f800000) /* x is -1 */ 48 if (ix > 0x3f800000) /* x is < -1 or nan */
|
H A D | coshf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix >= 0x7f800000) { 44 if (ix >= 0x43000000) /* coshf(x) trivially overflows */
|
H A D | sinhf.c | 37 int hx, ix; local 40 ix = hx & ~0x80000000; 41 if (ix >= 0x7f800000) { 45 if (ix >= 0x43000000) /* sinhf(x) trivially overflows */
|
H A D | atan2pif.c | 35 int ix, iy, hx, hy; local 37 ix = *(int *)&x; 39 hx = ix & ~0x80000000; 45 if (ix == 0)
|
H A D | erff.c | 40 int ix; local 42 ix = *(int *)&x & ~0x80000000; 43 if (ix > 0x7f800000) /* x is NaN */ 51 int ix; local 56 ix = *(int *)&x & ~0x80000000; 57 if (ix > 0x7f800000) /* x is NaN */
|
H A D | hypotf.c | 38 int ix, iy; local 40 ix = (*(int *) &x) & 0x7fffffff; 42 if (ix >= 0x7f800000) { 43 if (ix == 0x7f800000) 44 *(int *) &w = x == y ? iy : ix; /* w = |x| = inf */ 46 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ 51 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ 54 } else if (ix == 0) 57 *(int *) &w = ix; /* w = |x| */
|
H A D | log10f.c | 37 int hx, ix; local 41 ix = hx & ~0x80000000; 42 if (ix > 0x7f800000) 44 if (ix == 0x7f800000) 46 if (ix == 0) {
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | cosl.c | 70 int n, ix; local 72 ix = *(int *) &x; /* High word of x */ 74 ix &= 0x7fffffff; 75 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 77 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */
|
H A D | sinl.c | 70 int n, ix; local 72 ix = *(int *) &x; /* High word of x */ 73 ix &= 0x7fffffff; 74 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 76 else if (ix >= 0x7fff0000) /* sin(Inf or NaN) is NaN */
|
H A D | tanl.c | 69 int n, ix; local 71 ix = *(int *) &x; /* High word of x */ 72 ix &= 0x7fffffff; 73 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 75 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */
|
H A D | sincosl.c | 69 int n, ix; local 71 ix = *(int *) &x; /* High word of x */ 74 ix &= 0x7fffffff; 75 if (ix <= 0x3ffe9220) 77 else if (ix >= 0x7fff0000)
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | carg.c | 40 int ix, iy; local 42 ix = ((int *)&(D_RE(z)))[HIWORD]; 44 if ((((ix | iy) & ~0x80000000) | ((int *)&(D_RE(z)))[LOWORD] | 47 if (ix == 0)
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | ldexp.c | 37 int *px = (int *) &x, ix = px[HIWORD] & ~0x80000000; local 39 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) 41 return (ix >= 0x7ff80000 ? x : x + x); 47 ix = px[HIWORD] & ~0x80000000; 52 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0)
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | cosl.c | 73 int n, ix; local 82 XTOI(px, ix); 84 ix = px[0]; 88 ix &= 0x7fffffff; 89 if (ix <= 0x3ffe9220)
|
H A D | sincosl.c | 72 int n, ix; local 85 XTOI(px, ix); 87 ix = *(int *) &x; 91 ix &= 0x7fffffff; 92 if (ix <= 0x3ffe9220)
|
H A D | sinl.c | 73 int n, ix; local 84 XTOI(px, ix); 86 ix = *(int *) &x; 89 ix &= 0x7fffffff; 90 if (ix <= 0x3ffe9220)
|
H A D | tanl.c | 72 int n, ix; local 83 XTOI(px, ix); 85 ix = *(int *) &x; 89 ix &= 0x7fffffff; 90 if (ix <= 0x3ffe9220)
|