OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:reciprocal
(Results
1 - 3
of
3
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/
divsf3.c
78
// [1, 2.0) and get a Q32 approximate
reciprocal
using a small minimax
79
// polynomial approximation:
reciprocal
= 3/4 + 1/sqrt(2) - b/2. This
82
uint32_t
reciprocal
= UINT32_C(0x7504f333) - q31b;
local in function:__divsf3
84
// Now refine the
reciprocal
estimate using a Newton-Raphson iteration:
92
correction = -((uint64_t)
reciprocal
* q31b >> 32);
93
reciprocal
= (uint64_t)
reciprocal
* correction >> 31;
94
correction = -((uint64_t)
reciprocal
* q31b >> 32);
95
reciprocal
= (uint64_t)
reciprocal
* correction >> 31
[
all
...]
divdf3.c
78
// [1, 2.0) and get a Q32 approximate
reciprocal
using a small minimax
79
// polynomial approximation:
reciprocal
= 3/4 + 1/sqrt(2) - b/2. This
84
// Now refine the
reciprocal
estimate using a Newton-Raphson iteration:
108
uint64_t correction,
reciprocal
;
local in function:__divdf3
112
reciprocal
= (uint64_t)recip32*cHi + ((uint64_t)recip32*cLo >> 32);
115
// 64-bit
reciprocal
estimate downward to ensure that it is strictly smaller
116
// than the infinitely precise exact
reciprocal
. Because the computation
119
reciprocal
-= 2;
121
// The numerical
reciprocal
is accurate to within 2^-56, lies in the
122
// interval [0.5, 1.0), and is strictly smaller than the true
reciprocal
[
all
...]
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 in function:__divtf3
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
...]
Completed in 12 milliseconds
Indexes created Mon Sep 29 21:09:56 GMT 2025