Home
last modified time | relevance | path

Searched refs:exponent_less_127 (Results 1 – 3 of 3) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libm/common/
Dsf_llround.c18 __int32_t exponent_less_127; in llroundf() local
24 exponent_less_127 = ((w & 0x7f800000) >> 23) - 127; in llroundf()
29 if (exponent_less_127 < (int)((8 * sizeof (long long int)) - 1)) in llroundf()
31 if (exponent_less_127 < 0) in llroundf()
32 return exponent_less_127 < -1 ? 0 : sign; in llroundf()
33 else if (exponent_less_127 >= 23) in llroundf()
34 result = (long long int) w << (exponent_less_127 - 23); in llroundf()
37 w += 0x400000 >> exponent_less_127; in llroundf()
38 result = w >> (23 - exponent_less_127); in llroundf()
Dsf_lround.c16 __int32_t exponent_less_127; in lroundf() local
22 exponent_less_127 = ((w & 0x7f800000) >> 23) - 127; in lroundf()
27 if (exponent_less_127 < (int)((8 * sizeof (long int)) - 1)) in lroundf()
29 if (exponent_less_127 < 0) in lroundf()
30 return exponent_less_127 < -1 ? 0 : sign; in lroundf()
31 else if (exponent_less_127 >= 23) in lroundf()
32 result = (long int) w << (exponent_less_127 - 23); in lroundf()
35 w += 0x400000 >> exponent_less_127; in lroundf()
36 result = w >> (23 - exponent_less_127); in lroundf()
Dsf_round.c19 int exponent_less_127; in roundf() local
24 exponent_less_127 = (int)((w & 0x7f800000) >> 23) - 127; in roundf()
26 if (exponent_less_127 < 23) in roundf()
28 if (exponent_less_127 < 0) in roundf()
31 if (exponent_less_127 == -1) in roundf()
37 unsigned int exponent_mask = 0x007fffff >> exponent_less_127; in roundf()
42 w += 0x00400000 >> exponent_less_127; in roundf()
48 if (exponent_less_127 == 128) in roundf()