Searched refs:reciprocal (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/contrib/compiler-rt/lib/builtins/ |
H A D | divsf3.c | 80 // [1, 2.0) and get a Q32 approximate reciprocal using a small minimax 81 // polynomial approximation: reciprocal = 3/4 + 1/sqrt(2) - b/2. This 84 uint32_t reciprocal = UINT32_C(0x7504f333) - q31b; local 86 // Now refine the reciprocal estimate using a Newton-Raphson iteration: 94 correction = -((uint64_t)reciprocal * q31b >> 32); 95 reciprocal = (uint64_t)reciprocal * correction >> 31; 96 correction = -((uint64_t)reciprocal * q31b >> 32); 97 reciprocal = (uint64_t)reciprocal * correctio [all...] |
H A D | divdf3.c | 80 // [1, 2.0) and get a Q32 approximate reciprocal using a small minimax 81 // polynomial approximation: reciprocal = 3/4 + 1/sqrt(2) - b/2. This 86 // Now refine the reciprocal estimate using a Newton-Raphson iteration: 110 uint64_t correction, reciprocal; local 114 reciprocal = (uint64_t)recip32*cHi + ((uint64_t)recip32*cLo >> 32); 117 // 64-bit reciprocal estimate downward to ensure that it is strictly smaller 118 // than the infinitely precise exact reciprocal. Because the computation 121 reciprocal -= 2; 123 // The numerical reciprocal is accurate to within 2^-56, lies in the 124 // interval [0.5, 1.0), and is strictly smaller than the true reciprocal [all...] |
H A D | divtf3.c | 78 // [1, 2.0) and get a Q64 approximate reciprocal using a small minimax 79 // polynomial approximation: reciprocal = 3/4 + 1/sqrt(2) - b/2. This 85 // Now refine the reciprocal estimate using a Newton-Raphson iteration: 112 rep_t correction, reciprocal; local 128 reciprocal = r64cH + (r64cL >> 64); 131 // 128-bit reciprocal estimate downward to ensure that it is strictly smaller 132 // than the infinitely precise exact reciprocal. Because the computation 135 reciprocal -= 2; 137 // The numerical reciprocal is accurate to within 2^-112, lies in the 138 // interval [0.5, 1.0), and is strictly smaller than the true reciprocal [all...] |
/freebsd-11.0-release/contrib/gcc/config/ia64/ |
H A D | lib1funcs.asm | 177 // Compute the reciprocal approximation. 230 // Compute the reciprocal approximation. 287 // Compute the reciprocal approximation. 340 // Compute the reciprocal approximation.
|
/freebsd-11.0-release/contrib/llvm/lib/Support/ |
H A D | APFloat.cpp | 2487 /* Extra half-ulp lost in reciprocal of exponent. */ 3783 APFloat reciprocal(*semantics, 1ULL); 3784 if (reciprocal.divide(*this, rmNearestTiesToEven) != opOK) 3789 if (reciprocal.isDenormal()) 3792 assert(reciprocal.isFiniteNonZero() && 3793 reciprocal.significandLSB() == reciprocal.semantics->precision - 1); 3796 *inv = reciprocal;
|
Completed in 143 milliseconds