/haiku-fatelf/src/system/libroot/posix/glibc/include/ |
H A D | ieee754.h | 37 unsigned int exponent:8; member in struct:ieee754_float::__anon5466 42 unsigned int exponent:8; member in struct:ieee754_float::__anon5466 52 unsigned int exponent:8; member in struct:ieee754_float::__anon5467 59 unsigned int exponent:8; member in struct:ieee754_float::__anon5467 65 #define IEEE754_FLOAT_BIAS 0x7f /* Added to exponent. */ 77 unsigned int exponent:11; member in struct:ieee754_double::__anon5468 85 unsigned int exponent:11; member in struct:ieee754_double::__anon5468 92 unsigned int exponent:11; member in struct:ieee754_double::__anon5468 103 unsigned int exponent:11; member in struct:ieee754_double::__anon5469 112 unsigned int exponent 139 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5470 146 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5470 154 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5470 166 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5471 175 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5471 187 unsigned int exponent:15; member in struct:ieee854_long_double::__anon5471 [all...] |
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | copysign.c | 11 unsigned int exponent: 11; member in struct:__anon4198::__anon4199 21 unsigned int exponent: 11; member in struct:__anon4198::__anon4200 54 unsigned int exponent :11; member in struct:__anon4202::__anon4203 69 unsigned int exponent: 11; member in struct:__anon4202::__anon4204 91 unsigned int exponent: 8; member in struct:__anon4206::__anon4207 98 unsigned int exponent:8; member in struct:__anon4206::__anon4208 116 unsigned int exponent: 8; member in struct:__anon4209::__anon4210 124 unsigned int exponent:8; member in struct:__anon4209::__anon4211
|
H A D | floatformat.c | 118 /* In the i387 double-extended format, if the exponent is all ones, 119 then the integer bit must be set. If the exponent is neither 0 120 nor ~0, the intbit must also be set. Only if the exponent is 122 unsigned long exponent, int_bit; local 125 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, 130 if ((exponent == 0) != (int_bit == 0)) 284 long exponent; 290 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, 293 /* If the exponent indicates a NaN, we don't have information to 296 if ((unsigned long) exponent 283 long exponent; local 452 int exponent; local [all...] |
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | printf-frexp.c | 67 int exponent; local 74 x = FREXP (x, &exponent); 77 exponent -= 1; 79 if (exponent < MIN_EXP - 1) 81 x = LDEXP (x, exponent - (MIN_EXP - 1)); 82 exponent = MIN_EXP - 1; 86 /* Since the exponent is an 'int', it fits in 64 bits. Therefore the 92 exponent = 0; 95 /* A nonnegative exponent. */ 101 x * 2^exponent [all...] |
H A D | strtod.c | 47 bool hex = false; /* Look for hex float exponent. */ 49 /* The exponent of the number. */ 50 long int exponent; local 73 exponent = 0; 92 The exponent may reduce it to within range. 96 ++exponent; 104 --exponent; 129 The exponent may reduce it to within range. 133 ++exponent; 140 --exponent; [all...] |
H A D | frexp.c | 59 int exponent; local 79 /* Since the exponent is an 'int', it fits in 64 bits. Therefore the 85 exponent = 0; 88 /* A positive exponent. */ 93 x * 2^exponent = argument, x >= 1.0. */ 100 exponent += (1 << i); 116 exponent += (1 << i); 122 /* A negative or zero exponent. */ 127 x * 2^exponent = argument, x < 1.0. */ 134 exponent [all...] |
H A D | human.c | 162 int exponent = -1; local 239 exponent = 0; 244 exponent++; 246 while (e * base <= damt && exponent < exponent_max); 280 exponent = 0; 293 exponent++; 295 while (base <= amt && exponent < exponent_max); 332 && amt == base && exponent < exponent_max) 334 exponent++; 361 if (exponent < [all...] |
H A D | isnan.c | 91 - exponent = 0x0001..0x7FFF, mantissa bit 63 = 0, 92 - exponent = 0x0000, mantissa bit 63 = 1. 94 - exponent = 0x7FFF, mantissa >= 0x8000000000000001. */ 96 unsigned int exponent; local 99 exponent = (m.word[EXPBIT0_WORD] >> EXPBIT0_BIT) & EXP_MASK; 102 if (exponent == 0) 104 else if (exponent == EXP_MASK) 110 if (exponent == 0) 112 else if (exponent == EXP_MASK) 139 /* A NaN can be recognized through its exponent [all...] |
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | strtod.c | 68 /* The exponent of the number. */ 69 long int exponent; local 91 exponent = 0; 103 The exponent may reduce it to within range. 107 ++exponent; 114 --exponent; 129 /* Get the exponent specified after the `e' or `E'. */ 139 /* The exponent overflowed a `long int'. It is probably a safe 140 assumption that an exponent that cannot be represented by 150 /* There was no exponent [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_fphex.c | 143 exponent = fpnum.ldbl.ieee.exponent; \ 145 if (exponent == 0) \ 154 exponent bias is the same for normalized and denormalized \ 156 exponent = LONG_DOUBLE_DENORM_BIAS + 3; \ 159 else if (exponent >= IEEE854_LONG_DOUBLE_BIAS + 3) \ 162 exponent -= IEEE854_LONG_DOUBLE_BIAS + 3; \ 167 exponent = -(exponent - (IEEE854_LONG_DOUBLE_BIAS + 3)); \ 205 /* The maximal exponent o 209 int exponent; local [all...] |
H A D | printf_fp.c | 177 /* and the exponent. */ 178 int exponent; 179 /* Sign of the exponent. */ 211 if (expsign != 0 && type == 'f' && exponent-- > 0) 355 &exponent, &is_neg, 399 &exponent, &is_neg, fpnum.dbl); 431 /* We need three multiprecision variables. Now that we have the exponent 436 mp_size_t bignum_size = ((ABS (exponent) + BITS_PER_MP_LIMB - 1) 447 if (exponent > 2) 456 if ((exponent 176 int exponent; local [all...] |
/haiku-fatelf/src/libs/icon/flat_icon/ |
H A D | FlatIconFormat.cpp | 86 int exponent = ((shortValue & 0x7e0000) >> 17) - 32; local 92 uint32 value = (sign << 31) | ((exponent + 127) << 23) | mantissa; 105 // 6 bit exponent 111 int exponent = ((value & 0x7f800000) >> 23) - 127; local 114 if (exponent >= 32 || exponent < -32) { 121 | ((exponent + 32) << 17)
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | human.c | 162 int exponent = -1; local 239 exponent = 0; 244 exponent++; 246 while (e * base <= damt && exponent < exponent_max); 280 exponent = 0; 293 exponent++; 295 while (base <= amt && exponent < exponent_max); 332 && amt == base && exponent < exponent_max) 334 exponent++; 361 if (exponent < [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/ |
H A D | mpn2flt.c | 34 u.ieee.exponent = expt + IEEE754_FLOAT_BIAS;
|
H A D | mpn2dbl.c | 34 u.ieee.exponent = expt + IEEE754_DOUBLE_BIAS;
|
H A D | mpn2ldbl.c | 35 u.ieee.exponent = expt + IEEE854_LONG_DOUBLE_BIAS;
|
H A D | dbl2mpn.c | 39 *expt = (int) u.ieee.exponent - IEEE754_DOUBLE_BIAS; 57 if (u.ieee.exponent == 0) 59 /* A biased exponent of zero is a special case. 67 one bit, and its exponent is in fact the format minimum. */
|
H A D | e_exp2.c | 94 ex2_u.ieee.exponent += tval >> unsafe; 96 scale_u.ieee.exponent += tval - (tval >> unsafe);
|
H A D | e_exp2f.c | 95 ex2_u.ieee.exponent += tval >> unsafe; 97 scale_u.ieee.exponent += tval - (tval >> unsafe);
|
H A D | ldbl2mpn.c | 41 *expt = (int) u.ieee.exponent - IEEE854_LONG_DOUBLE_BIAS; 56 if (u.ieee.exponent == 0) 58 /* A biased exponent of zero is a special case. 66 one bit, and its exponent is in fact the format minimum. */
|
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86/ |
H A D | ldbl2mpn.c | 40 *expt = (int) u.ieee.exponent - IEEE854_LONG_DOUBLE_BIAS; 55 if (u.ieee.exponent == 0) 57 /* A biased exponent of zero is a special case. 65 one bit, and its exponent is in fact the format minimum. */ 112 else if (u.ieee.exponent < 0x7fff
|
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/ |
H A D | strtod.c | 151 containing the fraction bits, a base 2 exponent, and a sign flag. */ 152 extern FLOAT MPN2FLOAT (mp_srcptr mpn, int exponent, int negative); 209 round_and_return (mp_limb_t *retval, int exponent, int negative, argument 212 if (exponent < MIN_EXP - 1) 214 mp_size_t shift = MIN_EXP - 1 - exponent; 259 exponent bias is the same for normalized and denormalized 264 exponent = DENORM_EXP; 278 ++exponent; 283 else if (exponent == DENORM_EXP 288 exponent 443 int exponent; /* Exponent of the number. */ variable [all...] |
H A D | erand48_r.c | 41 temp.ieee.exponent = IEEE754_DOUBLE_BIAS;
|
/haiku-fatelf/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 202 // calculate the value of the exponent 203 int32 exponent = 0; local 206 exponent = value.CountChars() - 1 - firstDigit; 214 exponent = 0; 219 // check for negative exponent value 220 exponent = 0; 223 exponent--; 236 exponent = 0; 242 exponent = offset - (firstDigit + 1); 247 // add the exponent 250 value << "E" << exponent; local 300 value << 'E' << exponent; local [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/arch/ppc/ |
H A D | ldbl2mpn.c | 41 *expt = (int) u.ieee.exponent - IEEE854_LONG_DOUBLE_BIAS; 56 if (u.ieee.exponent == 0) 58 /* A biased exponent of zero is a special case. 66 one bit, and its exponent is in fact the format minimum. */
|