/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan2.c | 79 hy = HI(y); in __vatan2() 88 if (hy > hx || (hy == hx && LO(y) > LO(x))) in __vatan2() 91 hx = hy; in __vatan2() 92 hy = i; in __vatan2() 194 hy = HI(y); in __vatan2() 203 if (hy > hx || (hy == hx && LO(y) > LO(x))) in __vatan2() 206 hx = hy; in __vatan2() 207 hy = i; in __vatan2() 318 if (hy > hx || (hy == hx && LO(y) > LO(x))) in __vatan2() 321 hx = hy; in __vatan2() [all …]
|
H A D | __vpow.c | 520 hy = HI(py); \ 523 sy = hy >> 31; \ 525 hy &= 0x7fffffff; \ 557 hy > 0x7ff00000 || (hy == 0x7ff00000 && ly != 0)) /* |X| or |Y| = Nan */ \ 567 HI(pz) = hy; \ 696 unsigned hx, lx, sx, hy, ly, sy; in __vpow() local 1081 hy = HI(py); \ 1083 sy = hy >> 31; \ 1084 hy &= 0x7fffffff; \ 1100 HI(pz) = hy; \ [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquo.c | 78 if (hx <= hy) { in fmodquo() 79 if (hx < hy || lx < ly) in fmodquo() 102 if (hy == 0) { in fmodquo() 110 iy = (hy >> 20) - 1023; in fmodquo() 126 hy = 0x00100000 | (0x000fffff & hy); in fmodquo() 130 hy = (hy << n) | (ly >> (32 - n)); in fmodquo() 133 hy = ly << (n - 32); in fmodquo() 142 hz = hx - hy; in fmodquo() 165 hz = hx - hy; in fmodquo() 213 int hx, hy, sx, sq; in remquo() local [all …]
|
H A D | remquof.c | 215 int hx, hy, sx, sq; in remquof() local 219 hy = *(int *) &y; /* high word of y */ in remquof() 221 sq = (hx ^ hy) & is; /* sign of x/y */ in remquof() 223 hy &= 0x7fffffff; /* |y| */ in remquof() 227 if (hx >= ii || hy > ii || hy == 0) { in remquof() 234 if (hy <= 0x7f7fffff) { in remquof() 238 if (hy < 0x01000000) { in remquof()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | atan2.c | 411 int i, k, hx, hy, sx, sy; in atan2() local 416 hy = ((int *)&oy)[HIWORD]; in atan2() 417 sy = hy & 0x80000000; in atan2() 418 hy &= ~0x80000000; in atan2() 424 if (hy > hx || (hy == hx && ((unsigned *)&oy)[LOWORD] > in atan2() 427 hx = hy; in atan2() 428 hy = i; in atan2() 455 if (hy >= 0x7ff00000) in atan2() 462 if (hx - hy >= 0x03600000) { in atan2() 469 hy -= 0x00300000; in atan2() [all …]
|
H A D | copysign.c | 36 int hx, hy; in copysign() local 39 hy = ((int *) &y)[HIWORD]; in copysign() 40 return (hx ^ hy) >= 0 ? (x) : (-x); in copysign()
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | atan2f.c | 254 int i, k, hx, hy, ix, iy, sign; in atan2f() local 261 hy = iy & ~0x80000000; in atan2f() 265 if (hy > hx) { in atan2f() 269 hx = hy; in atan2f() 270 hy = i; in atan2f() 298 if (hx >= 0x7f800000 || hx - hy >= 0x0c800000) { in atan2f() 302 else if (hy >= 0x7f800000) in atan2f() 310 if (hy < 0x00800000) { in atan2f() 311 if (hy == 0) in atan2f() 316 hy = *(int *)&y; in atan2f() [all …]
|
H A D | scalbf.c | 35 int ix, iy, hx, hy, n; in scalbf() local 40 hy = iy & ~0x80000000; in scalbf() 42 if (hx > 0x7f800000 || hy >= 0x7f800000) { in scalbf() 48 if (hy >= 0x4b000000) { in scalbf() 51 } else if (hy < 0x3f800000) { in scalbf() 53 return ((hy == 0)? x : (x - x) / (x - x)); in scalbf() 55 if (hy & ((1 << (0x96 - (hy >> 23))) - 1)) in scalbf()
|
H A D | tanf.c | 78 int n, ix, hx, hy; in tanf() local 107 hy = ((int *)&y)[HIWORD] & ~0x80000000; in tanf() 108 if (hy < 0x3f800000) { /* |y| < 2**-7 */ in tanf() 137 hy = ((int *)&y)[HIWORD]; in tanf() 138 n = ((hy >> 20) & 0x7ff) - 1046; in tanf() 139 ((int *)&w)[HIWORD] = (hy & 0xfffff) | 0x41600000; in tanf() 142 if (hy < 0) { in tanf() 148 hy = ((int *)&y)[HIWORD] & ~0x80000000; in tanf() 149 if (hy < 0x3f800000) { /* |y| < 2**-7 */ in tanf()
|
H A D | atan2pif.c | 35 int ix, iy, hx, hy; in atan2pif() local 40 hy = iy & ~0x80000000; in atan2pif() 41 if (hx > 0x7f800000 || hy > 0x7f800000) /* x or y is nan */ in atan2pif() 43 if ((hx | hy) == 0) { in atan2pif()
|
H A D | sinf.c | 78 int n, ix, hx, hy; in sinf() local 128 hy = ((int *)&y)[HIWORD]; in sinf() 129 n = ((hy >> 20) & 0x7ff) - 1046; in sinf() 130 ((int *)&w)[HIWORD] = (hy & 0xfffff) | 0x41600000; in sinf() 133 if (hy < 0) { in sinf()
|
H A D | sincosf.c | 100 int n, ix, hx, hy; in sincosf() local 161 hy = ((int *)&y)[HIWORD]; in sincosf() 162 n = ((hy >> 20) & 0x7ff) - 1046; in sincosf() 163 ((int *)&w)[HIWORD] = (hy & 0xfffff) | 0x41600000; in sincosf() 166 if (hy < 0) { in sincosf()
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | k_atan2.c | 459 int ix, iy, hx, hy, lx, ly; in __k_atan2() local 461 hy = ((int *) &y)[HIWORD]; in __k_atan2() 463 iy = hy & ~0x80000000; in __k_atan2() 484 return ((hy >= 0)? pio2 : -pio2); in __k_atan2() 497 *w = (hy >= 0)? pi_lo : -pi_lo; in __k_atan2() 498 return ((hy >= 0)? pi : -pi); in __k_atan2() 506 return ((hy >= 0)? pio2 : -pio2); in __k_atan2() 509 *w = (hy >= 0)? pi_lo : -pi_lo; in __k_atan2() 510 return ((hy >= 0)? pi : -pi); in __k_atan2() 547 *w = (hy >= 0)? w2 : -w2; in __k_atan2() [all …]
|
H A D | k_atan2l.c | 725 int ix, iy, hx, hy; in __k_atan2l() local 727 hy = HI_XWORD(y); in __k_atan2l() 729 iy = hy & ~0x80000000; in __k_atan2l() 747 return ((hy >= 0)? pio2 : -pio2); in __k_atan2l() 760 *w = (hy >= 0)? pi_lo : -pi_lo; in __k_atan2l() 761 return ((hy >= 0)? pi : -pi); in __k_atan2l() 769 return ((hy >= 0)? pio2 : -pio2); in __k_atan2l() 772 *w = (hy >= 0)? pi_lo : -pi_lo; in __k_atan2l() 773 return ((hy >= 0)? pi : -pi); in __k_atan2l() 806 *w = (hy >= 0)? w2 : -w2; in __k_atan2l() [all …]
|
H A D | cprojl.c | 43 int hy; in cprojl() local 48 hy = ((int *) &y)[2] << 16; in cprojl() 50 hy = ((int *) &y)[0]; in cprojl() 54 LD_IM(z) = hy >= 0 ? zero : -zero; in cprojl() 57 LD_IM(z) = hy >= 0 ? zero : -zero; in cprojl()
|
H A D | cprojf.c | 42 int ix, iy, hx, hy; in cprojf() local 47 hy = THE_WORD(y); in cprojf() 49 iy = hy & 0x7fffffff; in cprojf() 52 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf() 55 F_IM(z) = hy >= 0 ? zero : -zero; in cprojf()
|
H A D | cproj.c | 51 int ix, iy, hx, hy, lx, ly; in cproj() local 57 hy = HI_WORD(y); in cproj() 60 iy = hy & 0x7fffffff; in cproj() 63 D_IM(z) = hy >= 0 ? zero : -zero; in cproj() 66 D_IM(z) = hy >= 0 ? zero : -zero; in cproj()
|
H A D | ccoshl.c | 42 int hx, ix, hy, iy, n; in ccoshl() local 49 hy = HI_XWORD(y); in ccoshl() 50 iy = hy & 0x7fffffff; in ccoshl() 88 if ((hx ^ hy) < 0) in ccoshl()
|
H A D | ccosh.c | 84 int hx, ix, lx, hy, iy, ly, n; in ccosh() local 92 hy = HI_WORD(y); in ccosh() 94 iy = hy & 0x7fffffff; in ccosh() 132 if ((hx ^ hy) < 0) in ccosh()
|
H A D | csinh.c | 84 int hx, ix, lx, hy, iy, ly, n; in csinh() local 92 hy = HI_WORD(y); in csinh() 94 iy = hy & 0x7fffffff; in csinh() 134 if (hy < 0) in csinh()
|
H A D | csinhl.c | 42 int hx, ix, hy, iy, n; in csinhl() local 49 hy = HI_XWORD(y); in csinhl() 50 iy = hy & 0x7fffffff; in csinhl() 90 if (hy < 0) in csinhl()
|
H A D | csqrtf.c | 44 int ix, iy, hx, hy; in csqrtf() local 49 hy = THE_WORD(y); in csqrtf() 51 iy = hy & 0x7fffffff; in csqrtf() 90 if (hy < 0) in csqrtf()
|
H A D | ccoshf.c | 44 int hx, ix, hy, iy, n; in ccoshf() local 51 hy = THE_WORD(y); in ccoshf() 52 iy = hy & 0x7fffffff; in ccoshf() 97 if ((hx ^ hy) < 0) in ccoshf()
|
H A D | csinhf.c | 44 int hx, ix, hy, iy, n; in csinhf() local 51 hy = THE_WORD(y); in csinhf() 52 iy = hy & 0x7fffffff; in csinhf() 99 if (hy < 0) in csinhf()
|
H A D | ctanhf.c | 42 int hx, ix, hy, iy; in ctanhf() local 49 hy = THE_WORD(y); in ctanhf() 50 iy = hy & 0x7fffffff; in ctanhf() 112 if (hy < 0) in ctanhf()
|