Searched refs:significand (Results 1 - 18 of 18) sorted by relevance

/openbsd-current/lib/libm/arch/i387/
H A Ds_significand.S9 ENTRY_NB(significand)
14 END(significand)
15 .weak significand
/openbsd-current/lib/libm/arch/amd64/
H A Ds_significand.S11 ENTRY_NB(significand)
12 RETGUARD_SETUP(significand, r11)
18 RETGUARD_CHECK(significand, r11)
20 END(significand)
21 .weak significand
/openbsd-current/lib/libm/src/
H A Ds_significand.c14 * significand(x) computes just
23 significand(double x) function
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/
H A Dfp_fixint_impl.inc19 // Break a into sign, exponent, significand parts.
24 const rep_t significand = (aAbs & significandMask) | implicitBit;
37 return sign * (significand >> (significandBits - exponent));
39 return sign * ((fixint_t)significand << (exponent - significandBits));
H A Dfp_fixuint_impl.inc17 // Break a into sign, exponent, significand parts.
22 const rep_t significand = (aAbs & significandMask) | implicitBit;
35 return significand >> (significandBits - exponent);
37 return (fixuint_t)significand << (exponent - significandBits);
H A Dfp_extend_impl.inc34 // significand field being set.
72 // Extend to the destination type by shifting the significand and
90 // renormalize the significand and clear the leading bit, then insert
H A Dfp_add_impl.inc67 // Extract the exponent and significand from the (possibly swapped) a and b.
86 // implicit significand bit. If we fell through from the denormal path it
92 // Shift the significand of b by the difference in exponents, with a sticky
134 // need to shift the significand.
144 // Shift the significand into place, and mask off the implicit bit.
H A Dfp_trunc_impl.inc35 // significand field being set.
110 const src_rep_t significand = (aRep & srcSignificandMask) | srcMinNormal;
116 const bool sticky = (significand << (srcBits - shift)) != 0;
117 src_rep_t denormalizedSignificand = significand >> shift | sticky;
H A Dfp_mul_impl.inc73 // Set the implicit significand bit. If we fell through from the
87 // Normalize the significand and adjust the exponent if needed.
108 // Otherwise, shift the significand of the result so that the round
H A Dfp_lib.h241 static __inline int normalize(rep_t *significand) { argument
242 const int shift = rep_clz(*significand) - rep_clz(implicitBit);
243 *significand <<= shift;
H A Dfp_div_impl.inc93 // Set the implicit significand bit. If we fell through from the
103 // Align the significand of b as a UQ1.(n-1) fixed-point number in the range
121 // bits of divisor significand (with the implicit bit set). Corresponds to
/openbsd-current/games/random/
H A Drandom.c115 uint64_t significand; local
120 * will go into the significand.
122 while (__predict_false((significand = random64()) == 0)) {
136 * There is a 1 somewhere in significand, not necessarily in
139 * bits of the significand. Can't predict one way or another
143 shift = clz64(significand);
146 significand <<= shift;
147 significand |= (random64() >> (64 - shift));
157 significand |= 1;
163 return ldexp((double)significand, exponen
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DAPFloat.cpp48 /* Assumed in hexadecimal significand parsing, and conversion to
58 // significand bits are all zero, and NaN otherwise
80 /* Number of bits in the significand. This includes the integer
405 structure D. Exponent is appropriate if the significand is
406 treated as an integer, and normalizedExponent if the significand
447 return createError("Invalid character in significand");
762 significand.parts = new integerPart[count];
767 delete [] significand.parts;
789 for the significand. If double or longer, this is a signalling NaN,
796 integerPart *significand
[all...]
/openbsd-current/include/
H A Dmath.h281 double significand(double);
/openbsd-current/lib/libm/hidden/
H A Dmath.h188 PROTO_DEPRECATED(significand); variable
/openbsd-current/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm598 ( [1-9] [0-9]* ) # non-zero significand
4029 # Parts used for scientific notation with significand/mantissa and exponent as
4075 # Parts used for normalized notation with significand/mantissa as either 0 or a
4113 # Parts used for engineering notation with significand/mantissa as either 0 or a
4285 # Scientific notation with significand/mantissa as an integer, e.g., "12345" is
5139 # Trims the sign of the significand, the (absolute value of the) significand,
5169 # strings: the sign of the significand, the absolute value of the significand,
5171 # significand an
[all...]
H A DBigFloat.pm441 ( [1-9] (?: [0-9]* [1-9] )? ) # significand
674 my $enc; # significand encoding (applies only to decimal)
711 my $t; # number of bits in significand
767 # Split bit string into sign, exponent, and mantissa/significand.
4368 # Parts used for scientific notation with significand/mantissa and exponent as
4412 # Parts used for normalized notation with significand/mantissa as either 0 or a
4445 # Parts used for engineering notation with significand/mantissa as either 0 or a
4741 # Scientific notation with significand/mantissa and exponent as integers, e.g.,
5009 my $enc; # significand encoding (applies only to decimal)
5045 my $t; # number of bits in significand
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h106 /// signed exponent, and the significand as an array of integer parts. After
109 /// significand is set as an explicit integer bit. For denormals the most
112 /// significant bit of the significand set. The sign of zeroes and infinities
113 /// is significant; the exponent and significand of such numbers is not stored,
116 /// significand are deterministic, although not really meaningful, and preserved
121 /// by encoding Signaling NaNs with the first bit of its trailing significand as
519 /// Return true if the significand excluding the integral bit is all ones.
522 /// Return true if the significand excluding the integral bit is all zeros.
594 /// The significand must be at least one bit wider than the target precision.
598 } significand; member in class:llvm::detail::final
[all...]

Completed in 154 milliseconds