/titanic_44/usr/src/lib/libmvec/common/ |
H A D | __vatan2.c | 74 int i, k, hx, hy, sx, sy; in __vatan2() local 79 hy = HI(y); in __vatan2() 80 sy = hy & 0x80000000; in __vatan2() 81 hy &= ~0x80000000; in __vatan2() 88 if (hy > hx || (hy == hx && LO(y) > LO(x))) in __vatan2() 91 hx = hy; in __vatan2() 92 hy = i; in __vatan2() 121 if (hx >= 0x7fe00000 || hx - hy >= 0x03600000) in __vatan2() 127 else if (hy >= 0x7ff00000) in __vatan2() 138 if (hx - hy >= 0x03600000) in __vatan2() [all …]
|
H A D | __vpow.c | 520 hy = HI(py); \ 523 sy = hy >> 31; \ 525 hy &= 0x7fffffff; \ 528 if (hy < 0x3bf00000) /* |Y| < 2^(-64) */ \ 531 if ((hy | ly) == 0) /* pow(X,0) */ \ 547 exp = hy >> 20; /* Y exponent */ \ 557 hy > 0x7ff00000 || (hy == 0x7ff00000 && ly != 0)) /* |X| or |Y| = Nan */ \ 559 if (hy == 0x7ff00000 && (ly == 0)) /* |Y| = Inf */ \ 567 HI(pz) = hy; \ 590 i0 = hy >> (20 - (exp - 0x3ff)); \ [all …]
|
/titanic_44/usr/src/lib/libm/common/m9x/ |
H A D | remquo.c | 61 int n, hx, hy, hz, ix, iy, sx, sq, i, m; in fmodquo() local 66 hy = __HI(y); /* high word of y */ in fmodquo() 69 sq = (hx ^ hy) & 0x80000000; /* sign of x/y */ in fmodquo() 71 hy &= 0x7fffffff; /* |y| */ in fmodquo() 75 if ((hy | ly) == 0 || hx >= 0x7ff00000 || /* y=0, or x !finite */ in fmodquo() 76 (hy | ((ly | -ly) >> 31)) > 0x7ff00000) /* or y is NaN */ in fmodquo() 78 if (hx <= hy) { in fmodquo() 79 if (hx < hy || lx < ly) in fmodquo() 101 if (hy < 0x00100000) { /* subnormal y */ in fmodquo() 102 if (hy == 0) { in fmodquo() [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()
|
/titanic_44/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() 451 if (hx >= 0x7fe00000 || hx - hy >= 0x03600000) { in atan2() 455 if (hy >= 0x7ff00000) in atan2() 462 if (hx - hy >= 0x03600000) { 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()
|
/titanic_44/usr/src/lib/libm/common/R/ |
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 | 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 | 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()
|
/titanic_44/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() 483 *w = (hy >= 0)? pio2_lo : -pio2_lo; in __k_atan2() 484 return ((hy >= 0)? pio2 : -pio2); in __k_atan2() 486 *w = (hy >= 0)? pio4_lo : -pio4_lo; in __k_atan2() 487 return ((hy >= 0)? pio4 : -pio4); in __k_atan2() 489 *w = (hy >= 0)? pi3o4_lo : -pi3o4_lo; in __k_atan2() 490 return ((hy >= 0)? pi3o4 : -pi3o4); in __k_atan2() 497 *w = (hy >= 0)? pi_lo : -pi_lo; 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() 746 *w = (hy >= 0)? pio2_lo : -pio2_lo; in __k_atan2l() 747 return ((hy >= 0)? pio2 : -pio2); in __k_atan2l() 749 *w = (hy >= 0)? pio4_lo : -pio4_lo; in __k_atan2l() 750 return ((hy >= 0)? pio4 : -pio4); in __k_atan2l() 752 *w = (hy >= 0)? pi3o4_lo : -pi3o4_lo; in __k_atan2l() 753 return ((hy >= 0)? pi3o4 : -pi3o4); in __k_atan2l() 760 *w = (hy >= 0)? pi_lo : -pi_lo; 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 | 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 | 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 | 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()
|