/glibc-2.36/math/ |
D | auto-libm-test-out-j0 | 1 j0 -1.0 2 = j0 downward binary32 -0x1p+0 : 0xc.3e3fep-4 : inexact-ok 3 = j0 tonearest binary32 -0x1p+0 : 0xc.3e3ffp-4 : inexact-ok 4 = j0 towardzero binary32 -0x1p+0 : 0xc.3e3fep-4 : inexact-ok 5 = j0 upward binary32 -0x1p+0 : 0xc.3e3ffp-4 : inexact-ok 6 = j0 downward binary64 -0x1p+0 : 0xc.3e3fedebdc778p-4 : inexact-ok 7 = j0 tonearest binary64 -0x1p+0 : 0xc.3e3fedebdc78p-4 : inexact-ok 8 = j0 towardzero binary64 -0x1p+0 : 0xc.3e3fedebdc778p-4 : inexact-ok 9 = j0 upward binary64 -0x1p+0 : 0xc.3e3fedebdc78p-4 : inexact-ok 10 = j0 downward intel96 -0x1p+0 : 0xc.3e3fedebdc77c1cp-4 : inexact-ok [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_lroundl.c | 30 int32_t j0; in __lroundl() local 36 j0 = (se & 0x7fff) - 0x3fff; in __lroundl() 39 if (j0 < 31) in __lroundl() 41 if (j0 < 0) in __lroundl() 42 return j0 < -1 ? 0 : sign; in __lroundl() 45 uint32_t j = i0 + (0x40000000 >> j0); in __lroundl() 50 ++j0; in __lroundl() 53 result = j >> (31 - j0); in __lroundl() 63 else if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lroundl() 65 if (j0 >= 63) in __lroundl() [all …]
|
D | s_llroundl.c | 30 int32_t j0; in __llroundl() local 36 j0 = (se & 0x7fff) - 0x3fff; in __llroundl() 39 if (j0 < 31) in __llroundl() 41 if (j0 < 0) in __llroundl() 42 return j0 < -1 ? 0 : sign; in __llroundl() 45 uint32_t j = i0 + (0x40000000 >> j0); in __llroundl() 50 ++j0; in __llroundl() 53 result = j >> (31 - j0); in __llroundl() 56 else if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llroundl() 58 if (j0 >= 63) in __llroundl() [all …]
|
D | s_lrintl.c | 37 int32_t se,j0; in __lrintl() local 47 j0 = (se & 0x7fff) - 0x3fff; in __lrintl() 49 if (j0 < 31) in __lrintl() 68 j0 = (se & 0x7fff) - 0x3fff; in __lrintl() 70 result = (j0 < 0 ? 0 : i0 >> (31 - j0)); in __lrintl() 72 else if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lrintl() 74 if (j0 >= 63) in __lrintl() 75 result = ((long int) i0 << (j0 - 31)) | (i1 << (j0 - 63)); in __lrintl() 95 j0 = (se & 0x7fff) - 0x3fff; in __lrintl() 97 if (j0 == 31) in __lrintl() [all …]
|
D | s_llrintl.c | 37 int32_t se,j0; in __llrintl() local 47 j0 = (se & 0x7fff) - 0x3fff; in __llrintl() 49 if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llrintl() 51 if (j0 >= 63) in __llrintl() 52 result = (((long long int) i0 << 32) | i1) << (j0 - 63); in __llrintl() 71 j0 = (se & 0x7fff) - 0x3fff; in __llrintl() 73 if (j0 < 0) in __llrintl() 75 else if (j0 <= 31) in __llrintl() 76 result = i0 >> (31 - j0); in __llrintl() 78 result = ((long long int) i0 << (j0 - 31)) | (i1 >> (63 - j0)); in __llrintl()
|
D | s_roundl.c | 29 int32_t j0; in __roundl() local 33 j0 = (se & 0x7fff) - 0x3fff; in __roundl() 34 if (j0 < 31) in __roundl() 36 if (j0 < 0) in __roundl() 40 if (j0 == -1) in __roundl() 48 uint32_t i = 0x7fffffff >> j0; in __roundl() 53 uint32_t j = i0 + (0x40000000 >> j0); in __roundl() 60 else if (j0 > 62) in __roundl() 62 if (j0 == 0x4000) in __roundl() 70 uint32_t i = 0xffffffff >> (j0 - 31); in __roundl() [all …]
|
D | s_modfl.c | 34 int32_t i0,i1,j0; in __modfl() local 37 j0 = (se&0x7fff)-0x3fff; /* exponent of x */ in __modfl() 38 if(j0<32) { /* integer part in high x */ in __modfl() 39 if(j0<0) { /* |x|<1 */ in __modfl() 43 i = (0x7fffffff)>>j0; in __modfl() 53 } else if (__builtin_expect(j0>63, 0)) { /* no fraction part */ in __modfl() 56 if (j0 == 0x4000 && ((i0 & 0x7fffffff) | i1)) in __modfl() 61 i = ((uint32_t)(0x7fffffff))>>(j0-32); in __modfl()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | s_llroundl.c | 30 int64_t j0; in __llroundl() local 36 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llroundl() 41 if (j0 < 48) in __llroundl() 43 if (j0 < 0) in __llroundl() 44 return j0 < -1 ? 0 : sign; in __llroundl() 47 i0 += 0x0000800000000000LL >> j0; in __llroundl() 48 result = i0 >> (48 - j0); in __llroundl() 51 else if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llroundl() 53 if (j0 >= 112) in __llroundl() 54 result = ((long long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); in __llroundl() [all …]
|
D | s_lroundl.c | 30 int64_t j0; in __lroundl() local 36 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lroundl() 41 if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lroundl() 43 if (j0 < 48) in __lroundl() 45 if (j0 < 0) in __lroundl() 46 return j0 < -1 ? 0 : sign; in __lroundl() 49 i0 += 0x0000800000000000LL >> j0; in __lroundl() 50 result = i0 >> (48 - j0); in __lroundl() 60 else if (j0 >= 112) in __lroundl() 61 result = ((long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); in __lroundl() [all …]
|
D | s_lrintl.c | 37 int32_t j0; in __lrintl() local 45 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lrintl() 50 if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lrintl() 52 if (j0 < 48) in __lrintl() 71 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lrintl() 75 result = (j0 < 0 ? 0 : i0 >> (48 - j0)); in __lrintl() 77 else if (j0 >= 112) in __lrintl() 78 result = ((long int) i0 << (j0 - 48)) | (i1 << (j0 - 112)); in __lrintl() 98 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __lrintl() 102 if (j0 == 48) in __lrintl() [all …]
|
D | s_roundl.c | 34 int32_t j0; in __roundl() 38 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __roundl() 39 if (j0 < 48) in __roundl() 41 if (j0 < 0) in __roundl() 44 if (j0 == -1) in __roundl() 50 uint64_t i = 0x0000ffffffffffffLL >> j0; in __roundl() 55 i0 += 0x0000800000000000LL >> j0; in __roundl() 60 else if (j0 > 111) in __roundl() 62 if (j0 == 0x4000) in __roundl() 70 uint64_t i = -1ULL >> (j0 - 48); in __roundl() [all …]
|
D | s_ceill.c | 39 int64_t i0, i1, j0; in __ceill() 42 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __ceill() 43 if (j0 < 48) in __ceill() 45 if (j0 < 0) in __ceill() 61 i = (0x0000ffffffffffffULL) >> j0; in __ceill() 65 i0 += (0x0001000000000000LL) >> j0; in __ceill() 70 else if (j0 > 111) in __ceill() 72 if (j0 == 0x4000) in __ceill() 79 i = -1ULL >> (j0 - 48); in __ceill() 84 if (j0 == 48) in __ceill() [all …]
|
D | s_floorl.c | 39 int64_t i0, i1, j0; in __floorl() 42 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __floorl() 43 if (j0 < 48) in __floorl() 45 if (j0 < 0) in __floorl() 60 i = (0x0000ffffffffffffULL) >> j0; in __floorl() 64 i0 += (0x0001000000000000LL) >> j0; in __floorl() 69 else if (j0 > 111) in __floorl() 71 if (j0 == 0x4000) in __floorl() 78 i = -1ULL >> (j0 - 48); in __floorl() 83 if (j0 == 48) in __floorl() [all …]
|
D | s_llrintl.c | 37 int32_t j0; in __llrintl() local 45 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llrintl() 50 if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llrintl() 68 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __llrintl() 72 if (j0 < 0) in __llrintl() 74 else if (j0 <= 48) in __llrintl() 75 result = i0 >> (48 - j0); in __llrintl() 77 result = ((long long int) i0 << (j0 - 48)) | (i1 >> (112 - j0)); in __llrintl()
|
D | s_truncl.c | 34 int32_t j0; in __truncl() 39 j0 = ((i0 >> 48) & 0x7fff) - 0x3fff; in __truncl() 40 if (j0 < 48) in __truncl() 42 if (j0 < 0) in __truncl() 46 SET_LDOUBLE_WORDS64 (x, i0 & ~(0x0000ffffffffffffLL >> j0), 0); in __truncl() 48 else if (j0 > 111) in __truncl() 50 if (j0 == 0x4000) in __truncl() 56 SET_LDOUBLE_WORDS64 (x, i0, i1 & ~(0xffffffffffffffffULL >> (j0 - 48))); in __truncl()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_lrint.c | 39 int32_t j0; in __lrint() local 47 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __lrint() 52 if (j0 < 20) in __lrint() 57 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __lrint() 61 result = (j0 < 0 ? 0 : i0 >> (20 - j0)); in __lrint() 63 else if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lrint() 65 if (j0 >= 52) in __lrint() 66 result = ((long int) i0 << (j0 - 20)) | ((long int) i1 << (j0 - 52)); in __lrint() 86 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __lrint() 90 if (j0 == 20) in __lrint() [all …]
|
D | s_llrint.c | 39 int32_t j0; in __llrint() local 47 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __llrint() 52 if (j0 < 20) in __llrint() 57 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __llrint() 61 result = (j0 < 0 ? 0 : i0 >> (20 - j0)); in __llrint() 63 else if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llrint() 65 if (j0 >= 52) in __llrint() 66 result = (((long long int) i0 << 32) | i1) << (j0 - 52); in __llrint() 72 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff; in __llrint() 76 if (j0 == 20) in __llrint() [all …]
|
D | s_llround.c | 34 int32_t j0; in __llround() local 40 j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __llround() 45 if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llround() 47 if (j0 < 0) in __llround() 48 return j0 < -1 ? 0 : sign; in __llround() 49 else if (j0 >= 52) in __llround() 50 result = i0 << (j0 - 52); in __llround() 53 i0 += UINT64_C(0x8000000000000) >> j0; in __llround() 55 result = i0 >> (52 - j0); in __llround()
|
D | s_lround.c | 33 int32_t j0; in __lround() local 39 j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __lround() 44 if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lround() 46 if (j0 < 0) in __lround() 47 return j0 < -1 ? 0 : sign; in __lround() 48 else if (j0 >= 52) in __lround() 49 result = i0 << (j0 - 52); in __lround() 52 i0 += UINT64_C(0x8000000000000) >> j0; in __lround() 54 result = i0 >> (52 - j0); in __lround()
|
D | s_round.c | 35 int64_t i0, j0; in __round() 38 j0 = ((i0 >> 52) & 0x7ff) - 0x3ff; in __round() 39 if (__glibc_likely (j0 < 52)) in __round() 41 if (j0 < 0) in __round() 44 if (j0 == -1) in __round() 49 uint64_t i = UINT64_C (0x000fffffffffffff) >> j0; in __round() 54 i0 += UINT64_C (0x0008000000000000) >> j0; in __round() 60 if (j0 == 0x400) in __round()
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_lroundf.c | 31 int32_t j0; in __lroundf() local 37 j0 = ((i >> 23) & 0xff) - 0x7f; in __lroundf() 42 if (j0 < (int32_t) (8 * sizeof (long int)) - 1) in __lroundf() 44 if (j0 < 0) in __lroundf() 45 return j0 < -1 ? 0 : sign; in __lroundf() 46 else if (j0 >= 23) in __lroundf() 47 result = (long int) i << (j0 - 23); in __lroundf() 50 i += 0x400000 >> j0; in __lroundf() 52 result = i >> (23 - j0); in __lroundf()
|
D | s_llroundf.c | 31 int32_t j0; in __llroundf() local 37 j0 = ((i >> 23) & 0xff) - 0x7f; in __llroundf() 42 if (j0 < (int32_t) (8 * sizeof (long long int)) - 1) in __llroundf() 44 if (j0 < 0) in __llroundf() 45 return j0 < -1 ? 0 : sign; in __llroundf() 46 else if (j0 >= 23) in __llroundf() 47 result = (long long int) i << (j0 - 23); in __llroundf() 50 i += 0x400000 >> j0; in __llroundf() 52 result = i >> (23 - j0); in __llroundf()
|
D | s_roundf.c | 34 int32_t i0, j0; in __roundf() 37 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __roundf() 38 if (j0 < 23) in __roundf() 40 if (j0 < 0) in __roundf() 43 if (j0 == -1) in __roundf() 48 uint32_t i = 0x007fffff >> j0; in __roundf() 53 i0 += 0x00400000 >> j0; in __roundf() 59 if (j0 == 0x80) in __roundf()
|
D | s_lrintf.c | 39 int32_t j0; in __lrintf() local 49 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __lrintf() 53 if (j0 < (int32_t) (sizeof (long int) * 8) - 1) in __lrintf() 55 if (j0 >= 23) in __lrintf() 56 result = (long int) i0 << (j0 - 23); in __lrintf() 62 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __lrintf() 66 result = (j0 < 0 ? 0 : i0 >> (23 - j0)); in __lrintf()
|
D | s_llrintf.c | 39 int32_t j0; in __llrintf() local 49 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __llrintf() 53 if (j0 < (int32_t) (sizeof (long long int) * 8) - 1) in __llrintf() 55 if (j0 >= 23) in __llrintf() 56 result = (long long int) i0 << (j0 - 23); in __llrintf() 62 j0 = ((i0 >> 23) & 0xff) - 0x7f; in __llrintf() 66 result = (j0 < 0 ? 0 : i0 >> (23 - j0)); in __llrintf()
|