/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | copysign.c | 36 int hx, hy; local 39 hy = ((int *) &y)[HIWORD]; 40 return (hx ^ hy) >= 0 ? (x) : (-x);
|
H A D | nextafter.c | 37 int hx, hy, k; local 44 hy = ((int *)&y)[HIWORD]; 52 k = hy & 0x80000000;
|
H A D | atan2.c | 37 * the high order words hx and hy of their binary representations 38 * satisfy |hx - hy - i * 0x8000| <= 0x4000. Then: 50 * TBL[4*i+2], where i is the multiple of 0x8000 nearest hx - hy, 411 int i, k, hx, hy, sx, sy; local 416 hy = ((int *)&oy)[HIWORD]; 417 sy = hy & 0x80000000; 418 hy &= ~0x80000000; 424 if (hy > hx || (hy == hx && ((unsigned *)&oy)[LOWORD] > 427 hx = hy; [all...] |
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | scalbf.c | 35 int ix, iy, hx, hy, n; local 40 hy = iy & ~0x80000000; 42 if (hx > 0x7f800000 || hy >= 0x7f800000) { 48 if (hy >= 0x4b000000) { 51 } else if (hy < 0x3f800000) { 53 return ((hy == 0)? x : (x - x) / (x - x)); 55 if (hy & ((1 << (0x96 - (hy >> 23))) - 1))
|
H A D | atan2pif.c | 35 int ix, iy, hx, hy; local 40 hy = iy & ~0x80000000; 41 if (hx > 0x7f800000 || hy > 0x7f800000) /* x or y is nan */ 43 if ((hx | hy) == 0) {
|
H A D | tanf.c | 78 int n, ix, hx, hy; local 107 hy = ((int *)&y)[HIWORD] & ~0x80000000; 108 if (hy < 0x3f800000) { /* |y| < 2**-7 */ 137 hy = ((int *)&y)[HIWORD]; 138 n = ((hy >> 20) & 0x7ff) - 1046; 139 ((int *)&w)[HIWORD] = (hy & 0xfffff) | 0x41600000; 142 if (hy < 0) { 148 hy = ((int *)&y)[HIWORD] & ~0x80000000; 149 if (hy < 0x3f800000) { /* |y| < 2**-7 */
|
H A D | sinf.c | 78 int n, ix, hx, hy; local 128 hy = ((int *)&y)[HIWORD]; 129 n = ((hy >> 20) & 0x7ff) - 1046; 130 ((int *)&w)[HIWORD] = (hy & 0xfffff) | 0x41600000; 133 if (hy < 0) {
|
H A D | atan2f.c | 254 int i, k, hx, hy, ix, iy, sign; local 261 hy = iy & ~0x80000000; 265 if (hy > hx) { 269 hx = hy; 270 hy = i; 298 if (hx >= 0x7f800000 || hx - hy >= 0x0c800000) { 302 else if (hy >= 0x7f800000) 310 if (hy < 0x00800000) { 311 if (hy == 0) 316 hy [all...] |
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cprojf.c | 42 int ix, iy, hx, hy; local 47 hy = THE_WORD(y); 49 iy = hy & 0x7fffffff; 52 F_IM(z) = hy >= 0 ? zero : -zero; 55 F_IM(z) = hy >= 0 ? zero : -zero;
|
H A D | cprojl.c | 43 int hy; local 48 hy = ((int *) &y)[2] << 16; 50 hy = ((int *) &y)[0]; 54 LD_IM(z) = hy >= 0 ? zero : -zero; 57 LD_IM(z) = hy >= 0 ? zero : -zero;
|
H A D | cproj.c | 51 int ix, iy, hx, hy, lx, ly; local 57 hy = HI_WORD(y); 60 iy = hy & 0x7fffffff; 63 D_IM(z) = hy >= 0 ? zero : -zero; 66 D_IM(z) = hy >= 0 ? zero : -zero;
|
H A D | ccosh.c | 84 int hx, ix, lx, hy, iy, ly, n; local 92 hy = HI_WORD(y); 94 iy = hy & 0x7fffffff; 132 if ((hx ^ hy) < 0)
|
H A D | ccoshf.c | 44 int hx, ix, hy, iy, n; local 51 hy = THE_WORD(y); 52 iy = hy & 0x7fffffff; 97 if ((hx ^ hy) < 0)
|
H A D | ccoshl.c | 42 int hx, ix, hy, iy, n; local 49 hy = HI_XWORD(y); 50 iy = hy & 0x7fffffff; 88 if ((hx ^ hy) < 0)
|
H A D | csinh.c | 84 int hx, ix, lx, hy, iy, ly, n; local 92 hy = HI_WORD(y); 94 iy = hy & 0x7fffffff; 134 if (hy < 0)
|
H A D | csinhf.c | 44 int hx, ix, hy, iy, n; local 51 hy = THE_WORD(y); 52 iy = hy & 0x7fffffff; 99 if (hy < 0)
|
H A D | csinhl.c | 42 int hx, ix, hy, iy, n; local 49 hy = HI_XWORD(y); 50 iy = hy & 0x7fffffff; 90 if (hy < 0)
|
H A D | csqrtf.c | 44 int ix, iy, hx, hy; local 49 hy = THE_WORD(y); 51 iy = hy & 0x7fffffff; 90 if (hy < 0)
|
H A D | cexpl.c | 46 int n, ix, iy, hx, hy; local 51 hy = HI_XWORD(y); 53 iy = hy & 0x7fffffff;
|
H A D | clogf.c | 43 int ix, iy, hx, hy; local 48 hy = THE_WORD(y); 50 iy = hy & 0x7fffffff;
|
H A D | cexp.c | 70 int n, ix, iy, hx, hy, lx, ly; local 76 hy = HI_WORD(y); 79 iy = hy & 0x7fffffff;
|
H A D | cexpf.c | 45 int n, ix, iy, hx, hy; local 50 hy = THE_WORD(y); 52 iy = hy & 0x7fffffff;
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquo.c | 61 int n, hx, hy, hz, ix, iy, sx, sq, i, m; local 66 hy = __HI(y); /* high word of y */ 69 sq = (hx ^ hy) & 0x80000000; /* sign of x/y */ 71 hy &= 0x7fffffff; /* |y| */ 75 if ((hy | ly) == 0 || hx >= 0x7ff00000 || /* y=0, or x !finite */ 76 (hy | ((ly | -ly) >> 31)) > 0x7ff00000) /* or y is NaN */ 78 if (hx <= hy) { 79 if (hx < hy || lx < ly) 101 if (hy < 0x00100000) { /* subnormal y */ 102 if (hy 213 int hx, hy, sx, sq; local [all...] |
H A D | remquof.c | 215 int hx, hy, sx, sq; local 219 hy = *(int *) &y; /* high word of y */ 221 sq = (hx ^ hy) & is; /* sign of x/y */ 223 hy &= 0x7fffffff; /* |y| */ 227 if (hx >= ii || hy > ii || hy == 0) { 234 if (hy <= 0x7f7fffff) { 238 if (hy < 0x01000000) {
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan2.c | 74 int i, k, hx, hy, sx, sy; local 79 hy = HI(y); 80 sy = hy & 0x80000000; 81 hy &= ~0x80000000; 88 if (hy > hx || (hy == hx && LO(y) > LO(x))) 91 hx = hy; 92 hy = i; 121 if (hx >= 0x7fe00000 || hx - hy >= 0x03600000) 127 else if (hy > [all...] |