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

/haiku/src/tests/libs/icon/flat_icon/
H A DFlatIconFormat.py12 mantissa = (value & 0x01ffff) * 2 ** -17
13 return sign * exponent * (1 + mantissa)
33 mantissa = abs(value) / 2**exponent - 1
35 mantissa = 0
37 return (sign << 23) + ((exponent+32) << 17) + math.floor(mantissa * 2 ** 17)
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmpn2flt.c36 u.ieee.mantissa = frac_ptr[0] & (((mp_limb_t) 1 << FLT_MANT_DIG) - 1);
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstrtof.c18 u.ieee.mantissa = (mant) & 0x7fffff; \
/haiku/src/system/libroot/posix/glibc/include/
H A Dieee754.h38 unsigned int mantissa:23; member in struct:ieee754_float::__anon5465
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon5465
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon5466
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon5466
78 /* Together these comprise the mantissa. */
89 /* Together these comprise the mantissa. */
105 /* Together these comprise the mantissa. */
116 /* Together these comprise the mantissa. */
/haiku/src/system/libroot/posix/glibc/wcsmbs/
H A Dwcstof.c39 u.ieee.mantissa = (mant) & 0x7fffff; \
/haiku/src/libs/icon/flat_icon/
H A DFlatIconFormat.cpp87 int mantissa = (shortValue & 0x01ffff) << 6; local
96 i2f.intValue = (sign << 31) | ((exponent + 127) << 23) | mantissa;
109 // 17 bit mantissa
119 int mantissa = f2i.intValue & 0x007fffff; local
129 | (mantissa >> 6);
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp47 uint16 mantissa; member in struct:phase_coefficient
52 sign, mantissa, and exponent.
73 splitCoefficient.mantissa = intCoefficient << res;
78 splitCoefficient.mantissa = intCoefficient << res;
83 splitCoefficient.mantissa = intCoefficient << res;
88 splitCoefficient.mantissa = intCoefficient << res;
145 // split them into sign/mantissa/exponent
685 | coefficients[pos].mantissa;
696 | coefficientsUV[pos].mantissa;
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_debug.c778 int mantissa, exponent; local
780 mantissa = (int)((prec >> 4) & 0x0f) % 10;
783 val = mantissa * poweroften[exponent];
796 int mantissa; local
818 mantissa = cmval / poweroften[exponent];
819 if (mantissa > 9)
820 mantissa = 9;
822 retval = (mantissa << 4) | exponent;
/haiku/src/bin/pcmcia-cs/
H A Dpack_cis.c63 static u_int mantissa[] = { variable
82 if (mantissa[m] == tmp) break;
89 if (mantissa[m] == x) break;
228 if (mantissa[m] >= speed) break;

Completed in 100 milliseconds