Home
last modified time | relevance | path

Searched refs:uintval (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/libc/test/src/math/differential_testing/
H A DBinaryOpSingleOutputDiff.h41 if (myBits.uintval() != otherBits.uintval()) { in run_diff_in_range()
45 << " My result: " << myBits.uintval() << " (" << myBits.get_val() in run_diff_in_range()
47 << "Other result: " << otherBits.uintval() << " (" in run_diff_in_range()
118 myFunc, otherFunc, /* startingBit= */ FPBits(T(0x1.0p-10)).uintval(), in run_perf()
119 /* endingBit= */ FPBits(T(0x1.0p+10)).uintval(), 10'000'001, log); in run_perf()
136 myFunc, otherFunc, /* startingBit= */ FPBits(T(0x1.0p-10)).uintval(), in run_diff()
137 /* endingBit= */ FPBits(T(0x1.0p+10)).uintval(), 10'000'001, log); in run_diff()
H A DSingleInputSingleOutputDiff.h34 UIntType myBits = FPBits(myResult).uintval(); in runDiff()
35 UIntType otherBits = FPBits(otherResult).uintval(); in runDiff()
/llvm-project-15.0.7/libc/src/math/generic/
H A Dexpf.cpp27 uint32_t x_u = xbits.uintval();
43 if (xbits.uintval() >= 0xc2cf'f1b5U) {
56 if (!xbits.get_sign() && (xbits.uintval() >= 0x42b2'0000)) {
58 if (xbits.uintval() < 0x7f80'0000U) {
H A Dexpm1f.cpp28 uint32_t x_u = xbits.uintval();
64 if (xbits.uintval() >= 0x42b2'0000) {
65 if (xbits.uintval() < 0x7f80'0000U) {
82 if (unlikely(xbits.uintval() == 0x8000'0000U))
H A Dlog10f.cpp112 switch (xbits.uintval()) {
145 if (xbits.uintval() < FPBits::MIN_NORMAL ||
146 xbits.uintval() > FPBits::MAX_NORMAL) {
H A Dlog2f.cpp107 switch (FPBits(x).uintval()) {
128 if (xbits.uintval() < FPBits::MIN_NORMAL ||
129 xbits.uintval() > FPBits::MAX_NORMAL) {
H A Dlogf.cpp57 switch (FPBits(x).uintval()) {
94 if (xbits.uintval() < FPBits::MIN_NORMAL ||
95 xbits.uintval() > FPBits::MAX_NORMAL) {
H A Dlog1pf.cpp45 if (xbits.uintval() > FPBits::MAX_NORMAL) { in log()
87 switch (xbits.uintval()) {
135 switch (xbits.uintval()) {
H A Dhypotf.cpp52 uint64_t lrs = result.uintval() & mask;
H A Dexp2f.cpp54 uint32_t x_u = xbits.uintval();
H A Dsinf.cpp48 uint32_t x_u = xbits.uintval();
/llvm-project-15.0.7/libc/src/__support/FPUtil/generic/
H A DFMod.h228 if (likely(sx.uintval() <= sy.uintval())) { in eval_internal()
229 if (sx.uintval() < sy.uintval()) in eval_internal()
251 d.set_mantissa(sx.uintval() % sy.uintval()); in eval_internal()
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DFPMatcher.h46 (actualBits.uintval() == expectedBits.uintval()); in match()
52 (actualBits.uintval() != expectedBits.uintval()); in match()
H A DFPMatcher.cpp45 bits.uintval(), bitsWidthInHex) in describeValue()
/llvm-project-15.0.7/libc/fuzzing/math/
H A DCompare.h26 return bits1.uintval() == bits2.uintval(); in ValuesEqual()
H A DRemQuoDiff.h49 if (bits1.uintval() != bits2.uintval()) in RemQuoDiff()
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DManipulationFunctions.h163 UIntType int_val = from_bits.uintval(); in nextafter()
172 int_val = (to_bits.uintval() & sign_mask) + UIntType(1); in nextafter()
H A DFPBits.h123 UIntType uintval() const { return bits; } in uintval() function
/llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/
H A DNextAfterLongDouble.h49 UIntType int_val = from_bits.uintval(); in nextafter()
H A DLongDoubleBits.h116 UIntType uintval() {