Home
last modified time | relevance | path

Searched refs:MANT_DIG (Results 1 – 25 of 45) sorted by relevance

12

/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/
Ds_fromfpl_main.c27 #define MANT_DIG 53 macro
55 int hi_exponent = hx >> (MANT_DIG - 1); in FUNC()
58 hx &= ((1ULL << (MANT_DIG - 1)) - 1); in FUNC()
64 int lo_exponent = lx >> (MANT_DIG - 1); in FUNC()
68 hx |= 1ULL << (MANT_DIG - 1); in FUNC()
71 if (hi_exponent >= MANT_DIG - 1) in FUNC()
74 uret <<= hi_exponent - (MANT_DIG - 1); in FUNC()
80 uint64_t h = 1ULL << (MANT_DIG - 2 - hi_exponent); in FUNC()
83 uret = hx >> (MANT_DIG - 1 - hi_exponent); in FUNC()
97 lx &= ((1ULL << (MANT_DIG - 1)) - 1); in FUNC()
[all …]
/glibc-2.36/math/
Dlibm-test-scalbn.inc46 …TEST_fi_f (scalbn, min_subnorm_value, MANT_DIG - 1, min_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGE…
47 …TEST_fi_f (scalbn, -min_subnorm_value, MANT_DIG - 1, -min_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHAN…
49 …TEST_fi_f (scalbn, min_value, -MANT_DIG + 1, min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANG…
50 …TEST_fi_f (scalbn, -min_value, -MANT_DIG + 1, -min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHA…
51 …TEST_fi_f (scalbn, min_value, -MANT_DIG, plus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ERRNO_P…
52 …TEST_fi_f (scalbn, -min_value, -MANT_DIG, minus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ERRNO…
53 …TEST_fi_f (scalbn, min_value, -MANT_DIG - 1, plus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ERR…
54 …TEST_fi_f (scalbn, -min_value, -MANT_DIG - 1, minus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|E…
55 …TEST_fi_f (scalbn, min_value * 1.5, -MANT_DIG + 1, min_subnorm_value, INEXACT_EXCEPTION|UNDERFLOW_…
56 …TEST_fi_f (scalbn, -min_value * 1.5, -MANT_DIG + 1, -min_subnorm_value * 2, INEXACT_EXCEPTION|UNDE…
[all …]
Dgen-fromfp-tests-inputs42 #if MANT_DIG >= 53
50 #if MANT_DIG >= 53
58 #if MANT_DIG >= 53
66 #if MANT_DIG >= 64
74 #if MANT_DIG >= 64
82 #if MANT_DIG >= 64
90 #if MANT_DIG >= 53
110 #if MANT_DIG >= 53
114 #if MANT_DIG >= 64
118 #if MANT_DIG >= 106
[all …]
Dlibm-test-support.h79 #define MANT_DIG __CONCATX (PREFIX, _MANT_DIG) macro
89 #define TEST_COND_binary32 (MANT_DIG == 24 \
93 #define TEST_COND_binary64 (MANT_DIG == 53 \
97 #define TEST_COND_binary128 (MANT_DIG == 113 \
101 #define TEST_COND_ibm128 (MANT_DIG == 106)
105 #define TEST_COND_intel96 (MANT_DIG == 64 \
109 #define TEST_COND_m68k96 (MANT_DIG == 64 \
142 # define PAYLOAD_DIG (MANT_DIG - 2)
Dlibm-test-scalbln.inc46 …TEST_fl_f (scalbln, min_subnorm_value, MANT_DIG - 1, min_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANG…
47 …TEST_fl_f (scalbln, -min_subnorm_value, MANT_DIG - 1, -min_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHA…
49 …TEST_fl_f (scalbln, min_value, -MANT_DIG + 1, min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHAN…
50 …TEST_fl_f (scalbln, -min_value, -MANT_DIG + 1, -min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCH…
51 …TEST_fl_f (scalbln, min_value, -MANT_DIG, plus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ERRNO_…
52 …TEST_fl_f (scalbln, -min_value, -MANT_DIG, minus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ERRN…
53 …TEST_fl_f (scalbln, min_value, -MANT_DIG - 1, plus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|ER…
54 …TEST_fl_f (scalbln, -min_value, -MANT_DIG - 1, minus_uflow, INEXACT_EXCEPTION|UNDERFLOW_EXCEPTION|…
55 …TEST_fl_f (scalbln, min_value * 1.5, -MANT_DIG + 1, min_subnorm_value, INEXACT_EXCEPTION|UNDERFLOW…
56 …TEST_fl_f (scalbln, -min_value * 1.5, -MANT_DIG + 1, -min_subnorm_value * 2, INEXACT_EXCEPTION|UND…
[all …]
Dtest-nan-payload.c72 #define CAN_TEST_EQ(MANT_DIG) ((MANT_DIG) != 64 && (MANT_DIG) != 106) argument
74 #define RUN_TESTS(TYPE, SFUNC, FUNC, MANT_DIG) \ argument
93 if (CAN_TEST_EQ (MANT_DIG)) \
95 if (CAN_TEST_EQ (MANT_DIG)) \
97 if (CAN_TEST_EQ (MANT_DIG)) \
99 if (CAN_TEST_EQ (MANT_DIG)) \
Dlibm-test-llround.inc52 #if MANT_DIG >= 64
55 #if MANT_DIG >= 106
58 #if MANT_DIG >= 113
69 #if MANT_DIG >= 64
72 #if MANT_DIG >= 106
75 #if MANT_DIG >= 113
82 #if MANT_DIG >= 64
85 # if MANT_DIG > 64
89 # if MANT_DIG >= 106
92 # if MANT_DIG >= 113
[all …]
Dlibm-test-lround.inc69 #if MANT_DIG >= 64
72 #if MANT_DIG >= 106
75 #if MANT_DIG >= 113
96 #if MANT_DIG >= 64
99 #if MANT_DIG >= 106
102 #if MANT_DIG >= 113
117 #if MANT_DIG >= 64
124 # if MANT_DIG > 64
133 # if MANT_DIG >= 106
136 # if MANT_DIG >= 113
[all …]
Dlibm-test-lrint.inc72 # if MANT_DIG >= 64
75 # if MANT_DIG >= 106
78 # if MANT_DIG >= 113
82 # if MANT_DIG >= 64
85 # if MANT_DIG >= 106
88 # if MANT_DIG >= 113
113 # if MANT_DIG >= 64
116 # if MANT_DIG >= 106
119 # if MANT_DIG >= 113
123 # if MANT_DIG >= 64
[all …]
Dlibm-test-pow.inc206 #if MANT_DIG >= 64
208 # if MANT_DIG >= 106
211 # if MANT_DIG >= 113
223 #if MANT_DIG >= 64
226 # if MANT_DIG >= 106
230 # if MANT_DIG >= 113
277 #if MANT_DIG >= 64
279 # if MANT_DIG >= 106
282 # if MANT_DIG >= 113
296 #if MANT_DIG >= 64
[all …]
Dlibm-test-llrint.inc52 #if MANT_DIG >= 64
55 #if MANT_DIG >= 106
58 #if MANT_DIG >= 113
69 #if MANT_DIG >= 64
72 #if MANT_DIG >= 106
75 #if MANT_DIG >= 113
82 #if MANT_DIG >= 64
85 # if MANT_DIG > 64
89 # if MANT_DIG >= 106
92 # if MANT_DIG >= 113
[all …]
Dlibm-test-logb.inc40 TEST_f_f (logb, min_subnorm_value, MIN_EXP-MANT_DIG, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
41 TEST_f_f (logb, -min_subnorm_value, MIN_EXP-MANT_DIG, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
58 #if MIN_EXP - MANT_DIG <= -16400
63 #if MANT_DIG >= 57
Dlibm-test-setpayloadsig.inc64 #if MANT_DIG >= 53
67 #if MANT_DIG >= 64
70 #if MANT_DIG >= 106
73 #if MANT_DIG >= 113
Dlibm-test-trunc.inc93 #if MANT_DIG >= 64
101 # if MANT_DIG > 100
113 # if MANT_DIG > 100
125 # if MANT_DIG > 100
140 # if MANT_DIG > 100
165 # if MANT_DIG >= 106
Dlibm-test-roundeven.inc165 #if MANT_DIG >= 53
183 #if MANT_DIG >= 64
201 #if MANT_DIG >= 106
219 #if MANT_DIG >= 113
239 #if MANT_DIG >= 53
283 #if MANT_DIG >= 64
327 #if MANT_DIG >= 106
371 #if MANT_DIG >= 113
417 #if MANT_DIG >= 106
461 #if MANT_DIG >= 113
[all …]
Dlibm-test-setpayload.inc64 #if MANT_DIG >= 53
67 #if MANT_DIG >= 64
70 #if MANT_DIG >= 106
73 #if MANT_DIG >= 113
/glibc-2.36/sysdeps/ieee754/flt-32/
Ds_fromfpf_main.c28 #define MANT_DIG 24 macro
51 int exponent = ix >> (MANT_DIG - 1); in FUNC()
57 ix &= ((1U << (MANT_DIG - 1)) - 1); in FUNC()
58 ix |= 1U << (MANT_DIG - 1); in FUNC()
61 if (exponent >= MANT_DIG - 1) in FUNC()
64 uret <<= exponent - (MANT_DIG - 1); in FUNC()
70 uint32_t h = 1U << (MANT_DIG - 2 - exponent); in FUNC()
73 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC()
Ds_roundevenf.c28 #define MANT_DIG 24 macro
40 int exponent = ux >> (MANT_DIG - 1); in __roundevenf()
41 if (exponent >= BIAS + MANT_DIG - 1) in __roundevenf()
56 int int_pos = (BIAS + MANT_DIG - 1) - exponent; in __roundevenf()
/glibc-2.36/sysdeps/ieee754/dbl-64/
Ds_fromfp_main.c28 #define MANT_DIG 53 macro
51 int exponent = ix >> (MANT_DIG - 1); in FUNC()
57 ix &= ((1ULL << (MANT_DIG - 1)) - 1); in FUNC()
58 ix |= 1ULL << (MANT_DIG - 1); in FUNC()
61 if (exponent >= MANT_DIG - 1) in FUNC()
64 uret <<= exponent - (MANT_DIG - 1); in FUNC()
70 uint64_t h = 1ULL << (MANT_DIG - 2 - exponent); in FUNC()
73 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC()
Ds_roundeven.c27 #define MANT_DIG 53 macro
39 int exponent = ux >> (MANT_DIG - 1); in __roundeven()
40 if (exponent >= BIAS + MANT_DIG - 1) in __roundeven()
55 int int_pos = (BIAS + MANT_DIG - 1) - exponent; in __roundeven()
/glibc-2.36/stdlib/
Dstrtod_l.c132 #define MANT_DIG PASTE(FLT,_MANT_DIG) macro
167 #define RETURN_LIMB_SIZE howmany (MANT_DIG, BITS_PER_MP_LIMB)
177 #define MPNSIZE (howmany (1 + ((MANT_DIG - MIN_EXP + 2) * 10) / 3, \
220 if (exponent < MIN_EXP - 1 - MANT_DIG) in round_and_return()
227 if (shift == MANT_DIG) in round_and_return()
234 round_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB; in round_and_return()
282 if (((MANT_DIG % BITS_PER_MP_LIMB) == 0 && cy) in round_and_return()
283 || ((MANT_DIG % BITS_PER_MP_LIMB) != 0 in round_and_return()
286 << (MANT_DIG % BITS_PER_MP_LIMB))) in round_and_return()
328 if (((MANT_DIG % BITS_PER_MP_LIMB) == 0 && cy) in round_and_return()
[all …]
/glibc-2.36/sysdeps/ieee754/ldbl-128/
Ds_roundevenl.c28 #define MANT_DIG 113 macro
40 int exponent = uhx >> (MANT_DIG - 1 - 64); in __roundevenl()
41 if (exponent >= BIAS + MANT_DIG - 1) 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()
85 int int_pos = (BIAS + MANT_DIG - 65) - exponent; in __roundevenl()
Ds_fromfpl_main.c28 #define MANT_DIG 113 macro
51 int exponent = hx >> (MANT_DIG - 1 - 64); in FUNC()
57 hx &= ((1ULL << (MANT_DIG - 1 - 64)) - 1); in FUNC()
58 hx |= 1ULL << (MANT_DIG - 1 - 64); in FUNC()
65 int shift = MANT_DIG - 1 - exponent; in FUNC()
/glibc-2.36/sysdeps/ieee754/ldbl-96/
Ds_roundevenl.c27 #define MANT_DIG 64 macro
37 if (exponent >= BIAS + MANT_DIG - 1) 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()
94 int int_pos = (BIAS + MANT_DIG - 33) - exponent; in __roundevenl()
Ds_fromfpl_main.c28 #define MANT_DIG 64 macro
60 if (exponent >= MANT_DIG - 1) in FUNC()
69 uint64_t h = 1ULL << (MANT_DIG - 2 - exponent); in FUNC()
75 uret = ix >> (MANT_DIG - 1 - exponent); in FUNC()

12