/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_fmal.c | 40 if (__builtin_expect (u.ieee.exponent + v.ieee.exponent in __fmal() 43 || __builtin_expect (u.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 44 || __builtin_expect (v.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 45 || __builtin_expect (w.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 46 || __builtin_expect (u.ieee.exponent + v.ieee.exponent in __fmal() 51 if (w.ieee.exponent == 0x7fff in __fmal() 52 && u.ieee.exponent != 0x7fff in __fmal() 53 && v.ieee.exponent != 0x7fff) in __fmal() 62 if (u.ieee.exponent == 0x7fff in __fmal() 63 || v.ieee.exponent == 0x7fff in __fmal() [all …]
|
D | s_fromfpl_main.c | 51 int exponent = se & 0x7fff; in FUNC() local 52 exponent -= BIAS; in FUNC() 54 if (exponent > max_exponent) in FUNC() 60 if (exponent >= MANT_DIG - 1) in FUNC() 67 else if (exponent >= -1) in FUNC() 69 uint64_t h = 1ULL << (MANT_DIG - 2 - exponent); in FUNC() 72 if (exponent == -1) in FUNC() 75 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC() 84 exponent, max_exponent, width); in FUNC()
|
D | s_roundevenl.c | 36 int exponent = se & 0x7fff; in __roundevenl() local 37 if (exponent >= BIAS + MANT_DIG - 1) in __roundevenl() 40 if (exponent == MAX_EXP) in __roundevenl() 46 else if (exponent >= BIAS + MANT_DIG - 32) in __roundevenl() 50 int int_pos = (BIAS + MANT_DIG - 1) - exponent; in __roundevenl() 70 else if (exponent == BIAS + MANT_DIG - 33) in __roundevenl() 89 else if (exponent >= BIAS) in __roundevenl() 94 int int_pos = (BIAS + MANT_DIG - 33) - exponent; in __roundevenl() 110 else if (exponent == BIAS - 1 && (hx > 0x80000000 || lx != 0)) in __roundevenl()
|
D | printf_fphex.c | 67 exponent = u.ieee.exponent; \ 69 if (exponent == 0) \ 80 exponent = LONG_DOUBLE_DENORM_BIAS + 3; \ 83 else if (exponent >= IEEE854_LONG_DOUBLE_BIAS + 3) \ 86 exponent -= IEEE854_LONG_DOUBLE_BIAS + 3; \ 91 exponent = -(exponent - (IEEE854_LONG_DOUBLE_BIAS + 3)); \
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_fma.c | 51 if (__builtin_expect (u.ieee.exponent + v.ieee.exponent in __fma() 53 || __builtin_expect (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG, 0) in __fma() 54 || __builtin_expect (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG, 0) in __fma() 55 || __builtin_expect (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG, 0) in __fma() 56 || __builtin_expect (u.ieee.exponent + v.ieee.exponent in __fma() 61 if (w.ieee.exponent == 0x7ff in __fma() 62 && u.ieee.exponent != 0x7ff in __fma() 63 && v.ieee.exponent != 0x7ff) in __fma() 72 if (u.ieee.exponent == 0x7ff in __fma() 73 || v.ieee.exponent == 0x7ff in __fma() [all …]
|
D | s_fromfp_main.c | 51 int exponent = ix >> (MANT_DIG - 1); in FUNC() local 52 exponent -= BIAS; in FUNC() 54 if (exponent > max_exponent) in FUNC() 61 if (exponent >= MANT_DIG - 1) in FUNC() 64 uret <<= exponent - (MANT_DIG - 1); in FUNC() 68 else if (exponent >= -1) in FUNC() 70 uint64_t h = 1ULL << (MANT_DIG - 2 - exponent); in FUNC() 73 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC() 82 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | s_fmal.c | 48 if (__builtin_expect (u.ieee.exponent + v.ieee.exponent in __fmal() 51 || __builtin_expect (u.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 52 || __builtin_expect (v.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 53 || __builtin_expect (w.ieee.exponent >= 0x7fff - LDBL_MANT_DIG, 0) in __fmal() 54 || __builtin_expect (u.ieee.exponent + v.ieee.exponent in __fmal() 59 if (w.ieee.exponent == 0x7fff in __fmal() 60 && u.ieee.exponent != 0x7fff in __fmal() 61 && v.ieee.exponent != 0x7fff) in __fmal() 70 if (u.ieee.exponent == 0x7fff in __fmal() 71 || v.ieee.exponent == 0x7fff in __fmal() [all …]
|
D | ieee754.h | 36 unsigned int exponent:8; member 41 unsigned int exponent:8; member 51 unsigned int exponent:8; member 58 unsigned int exponent:8; member 76 unsigned int exponent:11; member 85 unsigned int exponent:11; member 95 unsigned int exponent:11; member 105 unsigned int exponent:11; 123 unsigned int exponent:15; member 136 unsigned int exponent:15; member [all …]
|
D | s_roundevenl.c | 40 int exponent = uhx >> (MANT_DIG - 1 - 64); in __roundevenl() 41 if (exponent >= BIAS + MANT_DIG - 1) in __roundevenl() 44 if (exponent == MAX_EXP) in __roundevenl() 50 else if (exponent >= BIAS + MANT_DIG - 64) in __roundevenl() 54 int int_pos = (BIAS + MANT_DIG - 1) - exponent; in __roundevenl() 67 else if (exponent == BIAS + MANT_DIG - 65) in __roundevenl() 78 else if (exponent >= BIAS) in __roundevenl() 85 int int_pos = (BIAS + MANT_DIG - 65) - exponent; in __roundevenl() 94 else if (exponent == BIAS - 1 && (uhx > 0x3ffe000000000000ULL || lx != 0)) in __roundevenl()
|
D | printf_fphex_macros.h | 79 leading = u.ieee.exponent == 0 ? '0' : '1'; \ 81 exponent = u.ieee.exponent; \ 83 if (exponent == 0) \ 91 exponent = IEEE854_BIAS - 1; \ 94 else if (exponent >= IEEE854_BIAS) \ 97 exponent -= IEEE854_BIAS; \ 102 exponent = -(exponent - IEEE854_BIAS); \
|
/glibc-2.36/sysdeps/ia64/fpu/ |
D | libm_support.h | 197 unsigned exponent:8; member 201 unsigned exponent:8; 210 unsigned exponent:11; member 214 unsigned exponent:11; 223 unsigned exponent:15; member 227 unsigned exponent:15; 315 if ( ((y)->ex+(y)->fphi.exponent-134 < \ 316 (x)->ex+(x)->fphi.exponent) && \ 317 ((x)->ex+(x)->fphi.exponent < \ 318 (y)->ex+(y)->fphi.exponent+134) && \ [all …]
|
D | printf_fphex.c | 54 exponent = u.ieee.exponent; \ 56 if (exponent == 0) \ 67 exponent = LONG_DOUBLE_DENORM_BIAS + 3; \ 70 else if (exponent >= IEEE854_LONG_DOUBLE_BIAS + 3) \ 73 exponent -= IEEE854_LONG_DOUBLE_BIAS + 3; \ 78 exponent = -(exponent - (IEEE854_LONG_DOUBLE_BIAS + 3)); \
|
/glibc-2.36/sysdeps/mips/ieee754/ |
D | ieee754.h | 41 unsigned int exponent:8; member 46 unsigned int exponent:8; member 56 unsigned int exponent:8; member 63 unsigned int exponent:8; member 81 unsigned int exponent:11; member 89 unsigned int exponent:11; member 96 unsigned int exponent:11; member 107 unsigned int exponent:11; member 116 unsigned int exponent:11; 124 unsigned int exponent:11; [all …]
|
/glibc-2.36/sysdeps/ieee754/ |
D | ieee754.h | 36 unsigned int exponent:8; member 41 unsigned int exponent:8; member 51 unsigned int exponent:8; member 58 unsigned int exponent:8; member 76 unsigned int exponent:11; member 84 unsigned int exponent:11; member 91 unsigned int exponent:11; member 102 unsigned int exponent:11; member 111 unsigned int exponent:11; 119 unsigned int exponent:11; [all …]
|
/glibc-2.36/sysdeps/ia64/ |
D | ieee754.h | 36 unsigned int exponent:8; member 41 unsigned int exponent:8; member 51 unsigned int exponent:8; member 58 unsigned int exponent:8; member 76 unsigned int exponent:11; member 84 unsigned int exponent:11; member 91 unsigned int exponent:11; member 102 unsigned int exponent:11; member 111 unsigned int exponent:11; 119 unsigned int exponent:11; [all …]
|
/glibc-2.36/math/ |
D | test-misc.c | 174 if (v1.ieee.exponent != v2.ieee.exponent) in do_test() 177 v1.ieee.exponent, v2.ieee.exponent); in do_test() 213 if (v1.ieee.exponent != v2.ieee.exponent) in do_test() 216 v1.ieee.exponent, v2.ieee.exponent); in do_test() 262 if (v1.ieee.exponent != v2.ieee.exponent) in do_test() 265 v1.ieee.exponent, v2.ieee.exponent); in do_test() 285 if (v1.ieee.exponent != v2.ieee.exponent) in do_test() 288 v1.ieee.exponent, v2.ieee.exponent); in do_test() 308 if (v1.ieee.exponent != v2.ieee.exponent) in do_test() 311 v1.ieee.exponent, v2.ieee.exponent); in do_test() [all …]
|
/glibc-2.36/sysdeps/sparc/sparc32/ |
D | ieee754.h | 36 unsigned int exponent:8; member 41 unsigned int exponent:8; member 51 unsigned int exponent:8; member 58 unsigned int exponent:8; member 76 unsigned int exponent:11; member 85 unsigned int exponent:11; member 95 unsigned int exponent:11; member 105 unsigned int exponent:11; 123 unsigned int exponent:15; member 136 unsigned int exponent:15; member [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | ieee754.h | 37 unsigned int exponent:8; member 42 unsigned int exponent:8; member 52 unsigned int exponent:8; member 59 unsigned int exponent:8; member 77 unsigned int exponent:11; member 86 unsigned int exponent:11; member 96 unsigned int exponent:11; member 106 unsigned int exponent:11; 126 unsigned int exponent:15; member 139 unsigned int exponent:15; member [all …]
|
D | printf_fphex.c | 38 if (u.d[1].ieee.exponent != 0) \ 44 ediff = u.d[0].ieee.exponent - u.d[1].ieee.exponent - 53; \ 60 u.d[0].ieee.exponent--; \ 111 leading = u.d[0].ieee.exponent == 0 ? '0' : '1'; \ 113 exponent = u.d[0].ieee.exponent; \ 115 if (exponent == 0) \ 123 exponent = IEEE754_DOUBLE_BIAS - 1; \ 126 else if (exponent >= IEEE754_DOUBLE_BIAS) \ 129 exponent -= IEEE754_DOUBLE_BIAS; \ 134 exponent = -(exponent - IEEE754_DOUBLE_BIAS); \
|
D | mpn2ldbl.c | 40 u.d[0].ieee.exponent = expt + IEEE754_DOUBLE_BIAS; in __mpn_construct_long_double() 41 u.d[1].ieee.exponent = 0; in __mpn_construct_long_double() 78 if (lzcount > u.d[0].ieee.exponent) in __mpn_construct_long_double() 80 lzcount = u.d[0].ieee.exponent; in __mpn_construct_long_double() 81 u.d[0].ieee.exponent = 0; in __mpn_construct_long_double() 86 u.d[0].ieee.exponent -= (lzcount - 1); in __mpn_construct_long_double() 115 u.d[0].ieee.exponent++; in __mpn_construct_long_double() 116 if (u.d[0].ieee.exponent == IEEE754_DOUBLE_BIAS + DBL_MAX_EXP) in __mpn_construct_long_double() 143 u.d[1].ieee.exponent = exponent2; in __mpn_construct_long_double()
|
/glibc-2.36/stdlib/ |
D | strtod_l.c | 147 extern FLOAT MPN2FLOAT (mp_srcptr mpn, int exponent, int negative); 213 round_and_return (mp_limb_t *retval, intmax_t exponent, int negative, in round_and_return() argument 218 if (exponent < MIN_EXP - 1) in round_and_return() 220 if (exponent < MIN_EXP - 1 - MANT_DIG) in round_and_return() 223 mp_size_t shift = MIN_EXP - 1 - exponent; in round_and_return() 301 exponent = DENORM_EXP; in round_and_return() 313 if (exponent >= MAX_EXP) in round_and_return() 333 ++exponent; in round_and_return() 338 else if (exponent == DENORM_EXP in round_and_return() 343 exponent = MIN_EXP - 1; in round_and_return() [all …]
|
/glibc-2.36/stdio-common/ |
D | printf_fp.c | 159 int exponent; member 173 if (p->expsign != 0 && p->type == 'f' && p->exponent-- > 0) in hack_digit() 380 &p.exponent, &is_neg, VAR); \ in __printf_fp_l() 432 mp_size_t bignum_size = ((abs (p.exponent) + BITS_PER_MP_LIMB - 1) in __printf_fp_l() 446 if (p.exponent > 2) in __printf_fp_l() 463 if ((p.exponent + to_shift) % BITS_PER_MP_LIMB == 0) in __printf_fp_l() 465 MPN_COPY_DECR (p.frac + (p.exponent + to_shift) / BITS_PER_MP_LIMB, in __printf_fp_l() 467 p.fracsize += (p.exponent + to_shift) / BITS_PER_MP_LIMB; in __printf_fp_l() 472 + (p.exponent + to_shift) / BITS_PER_MP_LIMB, in __printf_fp_l() 474 (p.exponent + to_shift) % BITS_PER_MP_LIMB); in __printf_fp_l() [all …]
|
D | printf_fphex.c | 138 int exponent; in __printf_fphex() local 276 leading = fpnum.dbl.ieee.exponent == 0 ? '0' : '1'; in __printf_fphex() 278 exponent = fpnum.dbl.ieee.exponent; in __printf_fphex() 280 if (exponent == 0) in __printf_fphex() 288 exponent = IEEE754_DOUBLE_BIAS - 1; in __printf_fphex() 291 else if (exponent >= IEEE754_DOUBLE_BIAS) in __printf_fphex() 294 exponent -= IEEE754_DOUBLE_BIAS; in __printf_fphex() 299 exponent = -(exponent - IEEE754_DOUBLE_BIAS); in __printf_fphex() 386 exponent -= 4; in __printf_fphex() 387 if (exponent <= 0) in __printf_fphex() [all …]
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_fromfpf_main.c | 51 int exponent = ix >> (MANT_DIG - 1); in FUNC() local 52 exponent -= BIAS; in FUNC() 54 if (exponent > max_exponent) in FUNC() 61 if (exponent >= MANT_DIG - 1) in FUNC() 64 uret <<= exponent - (MANT_DIG - 1); in FUNC() 68 else if (exponent >= -1) in FUNC() 70 uint32_t h = 1U << (MANT_DIG - 2 - exponent); in FUNC() 73 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC() 82 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/x86_64/fpu/ |
D | printf_fphex.c | 65 exponent = u.ieee.exponent; \ 67 if (exponent == 0) \ 78 exponent = LONG_DOUBLE_DENORM_BIAS + 3; \ 81 else if (exponent >= IEEE854_LONG_DOUBLE_BIAS + 3) \ 84 exponent -= IEEE854_LONG_DOUBLE_BIAS + 3; \ 89 exponent = -(exponent - (IEEE854_LONG_DOUBLE_BIAS + 3)); \
|