Searched defs:reciprocal (Results 1 - 8 of 8) sorted by relevance

/external/compiler-rt/lib/builtins/
H A Ddivsf3.c80 // [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 Ddivdf3.c80 // [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 Ddivtf3.c78 // [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...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DLineParameters.h60 double reciprocal = 1 / normal; local
61 a *= reciprocal;
62 b *= reciprocal;
63 c *= reciprocal;
/external/chromium_org/third_party/skia/src/pathops/
H A DSkLineParameters.h131 double reciprocal = 1 / normal; local
132 fA *= reciprocal;
133 fB *= reciprocal;
134 fC *= reciprocal;
/external/skia/experimental/Intersection/
H A DLineParameters.h60 double reciprocal = 1 / normal; local
61 a *= reciprocal;
62 b *= reciprocal;
63 c *= reciprocal;
/external/skia/src/pathops/
H A DSkLineParameters.h131 double reciprocal = 1 / normal; local
132 fA *= reciprocal;
133 fB *= reciprocal;
134 fC *= reciprocal;
/external/libpng/
H A Dpngwrite.c1772 png_uint_32 reciprocal = 0; local
1777 /* Calculate a reciprocal. The correct calculation is simply
1779 * allows correct rounding by adding .5 before the shift. 'reciprocal'
1783 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha;
1801 * component*reciprocal is less than 2^31.
1805 png_uint_32 calc = component * reciprocal;
1830 * Calculate an alpha reciprocal to reverse pre-multiplication. As above the
1838 png_uint_32 reciprocal/*from the above macro*/)
1854 * component*reciprocal is less than 2^31.
1861 * be exact!) [Could also test reciprocal !
1924 png_uint_32 reciprocal = 0; local
2042 png_uint_32 reciprocal = 0; local
[all...]

Completed in 389 milliseconds