HomeSort by: relevance | last modified time | path
    Searched defs:mantissa (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ryu/
ryu_generic_128.h 40 uint128_t mantissa; member in struct:floating_decimal_128
50 // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits
d2s.c 72 uint64_t mantissa; member in struct:floating_decimal_64
298 fd.mantissa = output;
310 uint64_t output = v.mantissa;
314 printf("DIGITS=%" PRIu64 "\n", v.mantissa);
435 // Note: mantissa might contain trailing (decimal) 0's.
437 v->mantissa = m2 >> -e2;
455 // Decode bits into sign, mantissa, and exponent.
467 // For small integers in the range [1, 2^53), v.mantissa might contain trailing (decimal) zeros.
472 const uint64_t q = div10(v.mantissa);
473 const uint32_t r = ((uint32_t) v.mantissa) - 10 * ((uint32_t) q)
    [all...]
f2s.c 33 uint32_t mantissa; member in struct:floating_decimal_32
216 fd.mantissa = output;
228 uint32_t output = v.mantissa;
232 printf("DIGITS=%u\n", v.mantissa);
309 // Decode bits into sign, mantissa, and exponent.
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ryu/
ryu_generic_128.h 40 uint128_t mantissa; member in struct:floating_decimal_128
50 // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits
d2s.c 72 uint64_t mantissa; member in struct:floating_decimal_64
298 fd.mantissa = output;
310 uint64_t output = v.mantissa;
314 printf("DIGITS=%" PRIu64 "\n", v.mantissa);
435 // Note: mantissa might contain trailing (decimal) 0's.
437 v->mantissa = m2 >> -e2;
455 // Decode bits into sign, mantissa, and exponent.
467 // For small integers in the range [1, 2^53), v.mantissa might contain trailing (decimal) zeros.
472 const uint64_t q = div10(v.mantissa);
473 const uint32_t r = ((uint32_t) v.mantissa) - 10 * ((uint32_t) q)
    [all...]
f2s.c 33 uint32_t mantissa; member in struct:floating_decimal_32
216 fd.mantissa = output;
228 uint32_t output = v.mantissa;
232 printf("DIGITS=%u\n", v.mantissa);
309 // Decode bits into sign, mantissa, and exponent.
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/calcs/
amdgpu_custom_float.c 38 uint32_t *mantissa,
54 *mantissa = 0;
83 *mantissa = 0;
122 *mantissa = dc_fixpt_floor(mantiss);
130 uint32_t mantissa,
149 if (mantissa & ~mantissa_mask) {
151 mantissa = mantissa_mask;
164 if (mantissa & mask)
192 uint32_t mantissa; local
197 value, format, &negative, &mantissa, &exponenta) &
    [all...]
  /src/external/bsd/nsd/dist/simdzone/src/generic/
loc.h 241 uint8_t mantissa = (uint8_t)(centimeters / poweroften[exponent]); local
242 if (mantissa > 9u)
243 mantissa = 9u;
245 *scientific = (uint8_t)(mantissa << 4) | exponent;
  /src/external/gpl3/gcc/dist/libgcc/soft-fp/
fixddbitint.c 40 UDItype mantissa, t; local
53 mantissa = u.u & ((((UDItype) 1) << 53) - 1);
58 mantissa = u.u & ((((UDItype) 1) << 51) - 1);
59 mantissa |= ((UDItype) 1) << 53;
61 if (mantissa > (UDItype) 9999999999999999)
62 mantissa = 0;
86 if (mantissa == 0)
110 rem = mantissa % d;
111 mantissa /= d;
114 if (mantissa == 0
    [all...]
fixsdbitint.c 40 USItype mantissa, t; local
53 mantissa = u.u & ((((USItype) 1) << 23) - 1);
58 mantissa = u.u & ((((USItype) 1) << 21) - 1);
59 mantissa |= ((USItype) 1) << 23;
61 if (mantissa > (USItype) 9999999)
62 mantissa = 0;
86 if (mantissa == 0)
111 rem = mantissa % (USItype) d;
112 mantissa /= (USItype) d;
115 if (mantissa == 0
    [all...]
floatbitintdd.c 41 UDItype mantissa; local
212 mantissa = buf[q_limbs + pow10_limbs * 2 + 1];
214 mantissa
222 mantissa = buf[BITINT_END (1, 0)];
224 mantissa = (UDItype) buf[1] << 32 | buf[BITINT_END (2, 0)];
230 mantissa = msb;
233 mantissa = iprec < 0 ? (UDItype) (BILtype) msb : (UDItype) msb;
235 mantissa = (UDItype) msb << 32 | i[BITINT_END (1, 0)];
238 mantissa = -mantissa;
    [all...]
floatbitintsd.c 41 USItype mantissa; local
196 mantissa = buf[q_limbs + pow10_limbs * 2 + 1];
200 mantissa = buf[0];
202 mantissa = buf[BITINT_END (1, 0)];
207 mantissa = msb;
209 mantissa = -mantissa;
213 if (mantissa >= (USItype) 0x800000)
216 | (mantissa ^ (USItype) 0x800000));
220 | mantissa);
    [all...]
  /src/external/gpl3/gcc/dist/libgcc/config/arm/
fp16.c 70 unsigned long long mantissa; local
74 /* Get the exponent and mantissa encodings. */
75 mantissa = a & (point - 1);
85 if (mantissa == 0)
88 return sign | 0x7e00 | (mantissa >> (fmt->significand - 10));
92 if (aexp == 0 && mantissa == 0)
95 /* Construct the exponent and mantissa. */
99 mantissa |= point;
112 if (mantissa & mask)
115 if ((mantissa & mask) == increment
181 unsigned int mantissa = a & 0x3ff; local
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/config/arm/
fp16.c 70 unsigned long long mantissa; local
74 /* Get the exponent and mantissa encodings. */
75 mantissa = a & (point - 1);
85 if (mantissa == 0)
88 return sign | 0x7e00 | (mantissa >> (fmt->significand - 10));
92 if (aexp == 0 && mantissa == 0)
95 /* Construct the exponent and mantissa. */
99 mantissa |= point;
112 if (mantissa & mask)
115 if ((mantissa & mask) == increment
181 unsigned int mantissa = a & 0x3ff; local
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
string_util.cc 31 double one_k, std::string* mantissa,
57 *mantissa = mantissa_stream.str();
72 *mantissa = mantissa_stream.str();
83 *mantissa = mantissa_stream.str();
102 std::string mantissa; local
104 ToExponentAndMantissa(value, threshold, precision, one_k, &mantissa,
106 return mantissa + ExponentToPrefix(exponent, false);
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
string_util.cc 31 double one_k, std::string* mantissa,
57 *mantissa = mantissa_stream.str();
72 *mantissa = mantissa_stream.str();
83 *mantissa = mantissa_stream.str();
102 std::string mantissa; local
104 ToExponentAndMantissa(value, threshold, precision, one_k, &mantissa,
106 return mantissa + ExponentToPrefix(exponent, false);
  /src/external/gpl3/gcc/dist/gcc/config/m68k/
math-68881.h 497 double mantissa; local
504 : "=f" (mantissa) /* 1.0 <= mantissa < 2.0 */
506 if (mantissa != 0)
509 : "=f" (mantissa) /* mantissa /= 2.0 */
510 : "0" (mantissa));
514 return mantissa;
  /src/external/gpl3/gcc.old/dist/gcc/config/m68k/
math-68881.h 497 double mantissa; local
504 : "=f" (mantissa) /* 1.0 <= mantissa < 2.0 */
506 if (mantissa != 0)
509 : "=f" (mantissa) /* mantissa /= 2.0 */
510 : "0" (mantissa));
514 return mantissa;
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
floating_from_chars.cc 585 // mantissa.
593 // Now consume the rest of the written mantissa, populating MANTISSA with
594 // the first MANTISSA_BITS+k significant bits of the written mantissa, where
598 // After parsing "1.2f3", MANTISSA is 0x12f30000000000 (bit_width=52+1).
599 // After parsing ".0000f0e", MANTISSA is 0xf0e00000000000 (bit_width=52+4).
600 // After parsing ".1234567890abcd8", MANTISSA is 0x1234567890abcd (bit_width=52+1)
602 uint_t mantissa = 0; local
603 int mantissa_idx = mantissa_bits; // The current bit index into MANTISSA
606 // exponent in order to represent the mantissa
    [all...]
floating_to_chars.cc 379 typename floating_type_traits<T>::mantissa_t mantissa; member in struct:__anon17248::ieee_t
407 ieee_repr.mantissa
425 // mantissa (plus an implicit leading bit). We use the exponent and sign
426 // of the high part, and we merge the mantissa of the high part with the
427 // mantissa (and the implicit leading bit) of the low part.
443 // The following code for adjusting the low-part mantissa to combine
444 // it with the high-part mantissa is taken from the glibc source file
475 ieee_repr.mantissa = ((uint128_t{mantissa_hi} << 64)
503 const auto [mantissa, exponent, sign] = get_ieee_repr(value);
504 return ryu::generic_binary_to_decimal(mantissa, exponent, sign
    [all...]
  /src/external/lgpl3/mpfr/dist/src/
strtofr.c 33 unsigned char *mantissa; /* raw significand (without any point) */ member in struct:parsed_string
36 allocated for the mantissa field. */
38 size_t alloc; /* allocation size of mantissa */
242 pstr->mantissa = NULL;
328 /* Alloc mantissa */
330 pstr->mantissa = (unsigned char*) mpfr_allocate_func (pstr->alloc);
332 /* Read mantissa digits */
334 mant = pstr->mantissa;
361 /* Update the # of char in the mantissa */
362 pstr->prec = mant - pstr->mantissa;
    [all...]
  /src/external/lgpl3/mpfr/dist/tests/
tstckintc.c 125 void *mantissa = new_st (mpfr_custom_get_size (p)); local
127 mpfr_custom_init (mantissa, p);
128 mpfr_custom_init_set (x, 0, 0, p, mantissa);
137 void *mantissa = new_st ((mpfr_custom_get_size) (p)); local
139 (mpfr_custom_init) (mantissa, p);
140 (mpfr_custom_init_set) (x, MPFR_NAN_KIND, 0, p, mantissa);
149 void *mantissa = new_st ((mpfr_custom_get_size) (p)); local
154 mpfr_custom_init ((i1++, mantissa), (i2++, p));
169 (i5++, mantissa));
187 void *mantissa = new_st ((mpfr_custom_get_size) (p)) local
198 void *mantissa = mpfr_custom_get_significand (x); local
245 void *mantissa = (mpfr_custom_get_significand) (x); local
    [all...]
  /src/external/bsd/ntp/dist/ntpd/
refclock_palisade.c 1554 u_int32 mantissa; local
1559 memcpy(&mantissa, bp, sizeof(mantissa));
1560 mantissa = ((u_int32)ntohl(mantissa) & 0x7FFFFF) | 0x800000;
1565 res = (int32)(mantissa << (exponent - 23));
1567 res = (int32)(mantissa >> (23 - exponent));
  /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
floating_from_chars.cc 113 // 10 bits of stored mantissa, pow(5,q) <= 0x4p+10 implies q <= 5
119 // 7 bits of stored mantissa, pow(5,q) <= 0x4p+7 implies q <= 3
125 // 10 bits of stored mantissa, pow(5,-q) < 0x1p+64 / 0x1p+11 implies q >= -22
131 // 7 bits of stored mantissa, pow(5,-q) < 0x1p+64 / 0x1p+8 implies q >= -24
208 value.bits = (am.mantissa
220 value.bits = (am.mantissa
241 am.mantissa = value.bits & mantissa_mask;
246 am.mantissa = (value.bits & mantissa_mask) | hidden_bit_mask;
267 am.mantissa = value.bits & mantissa_mask;
272 am.mantissa = (value.bits & mantissa_mask) | hidden_bit_mask
964 uint_t mantissa = 0; local
    [all...]
floating_to_chars.cc 428 typename floating_type_traits<T>::mantissa_t mantissa; member in struct:__anon14853::ieee_t
456 ieee_repr.mantissa
474 // mantissa (plus an implicit leading bit). We use the exponent and sign
475 // of the high part, and we merge the mantissa of the high part with the
476 // mantissa (and the implicit leading bit) of the low part.
492 // The following code for adjusting the low-part mantissa to combine
493 // it with the high-part mantissa is taken from the glibc source file
524 ieee_repr.mantissa = ((uint128_t{mantissa_hi} << 64)
544 ieee_repr.mantissa
551 // We have mantissa and biased_exponent from the float (originall
    [all...]

Completed in 44 milliseconds

1 2