Searched refs:mantissa (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_float.c70 unsigned int mantissa: 23; member in struct:ieee_single
123 is.mantissa = (vs.mantissa1 << 16) | vs.mantissa2;
139 (is.mantissa == lim->ieee.mantissa)) {
145 vsp->mantissa2 = is.mantissa;
146 vsp->mantissa1 = (is.mantissa >> 16);
/freebsd-11-stable/sys/dev/usb/serial/
H A Duplcom.c817 unsigned int baseline, mantissa, exponent; local
822 * baudrate = baseline / (mantissa * 4^exponent)
824 * mantissa = buf[8:0]
830 mantissa = baseline / baud;
831 if (mantissa == 0)
832 mantissa = 1;
834 while (mantissa >= 512) {
836 mantissa >>= 2; /* divide by 4 */
839 /* Exponent is maxed. Trim mantissa and leave. This gives approx. 45.8 baud */
840 mantissa
[all...]
/freebsd-11-stable/lib/libc/resolv/
H A Dres_debug.c761 int mantissa, exponent; local
763 mantissa = (int)((prec >> 4) & 0x0f) % 10;
766 val = mantissa * poweroften[exponent];
779 int mantissa; local
801 mantissa = cmval / poweroften[exponent];
802 if (mantissa > 9)
803 mantissa = 9;
805 retval = (mantissa << 4) | exponent;
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_palisade.c1516 u_int32 mantissa; local
1521 memcpy(&mantissa, bp, sizeof(mantissa));
1522 mantissa = ((u_int32)ntohl(mantissa) & 0x7FFFFF) | 0x800000;
1527 res = (int32)(mantissa << (exponent - 23));
1529 res = (int32)(mantissa >> (23 - exponent));
/freebsd-11-stable/contrib/gcc/config/arm/
H A Dieee754-sf.S96 @ Convert mantissa to signed integer.
112 @ Compensate for the exponent overlapping the mantissa MSB added later
423 @ Convert mantissa to unsigned integer.
612 @ Convert mantissa to unsigned integer.
H A Dieee754-df.S124 @ Convert mantissa to signed integer.
146 @ Compensate for the exponent overlapping the mantissa MSB added later
563 @ Convert mantissa to unsigned integer.
854 @ Convert mantissa to unsigned integer.
1285 1: @ shift and round mantissa
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp782 // Extract the mantissa by clearing the top 12 bits (sign + exponent).
783 uint64_t mantissa = (I & (~0ULL >> 12)) | 1ULL << 52;
785 // If the exponent doesn't shift all bits out of the mantissa
787 return isNeg ? -APInt(width, mantissa >> (52 - exp)) :
788 APInt(width, mantissa >> (52 - exp));
790 // If the client didn't provide enough bits for us to shift the mantissa into
795 // Otherwise, we have to shift the mantissa bits up to the right location
796 APInt Tmp(width, mantissa);
843 // Number of bits in mantissa is 52. To obtain the mantissa valu
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp650 uint64_t mantissa = process_sp->ReadUnsignedIntegerFromMemory( local
658 stream.Printf("%" PRIu64 " x 10^%" PRIi8, mantissa, exponent);
/freebsd-11-stable/contrib/ldns/
H A Dhost2str.c578 loc_cm_print(ldns_buffer *output, uint8_t mantissa, uint8_t exponent) argument
584 mantissa *= 10;
585 ldns_buffer_printf(output, "0.%02ld", (long)mantissa);
589 ldns_buffer_printf(output, "%d", (int)mantissa);
/freebsd-11-stable/contrib/unbound/sldns/
H A Dwire2str.c1367 loc_cm_print(char** str, size_t* sl, uint8_t mantissa, uint8_t exponent) argument
1374 mantissa *= 10;
1375 return sldns_str_print(str, sl, "0.%02ld", (long)mantissa);
1378 w += sldns_str_print(str, sl, "%d", (int)mantissa);
/freebsd-11-stable/sys/dev/otus/
H A Dif_otus.c2709 otus_get_delta_slope(uint32_t coeff, uint32_t *exponent, uint32_t *mantissa) argument
2721 /* mantissa = floor(coeff * 2^exponent + 0.5) */
2724 *mantissa = man >> (COEFF_SCALE_SHIFT - exp);
2811 /* Set Delta Slope (exponent and mantissa). */

Completed in 153 milliseconds