Home
last modified time | relevance | path

Searched refs:reciprocal (Results 1 – 25 of 124) sorted by relevance

12345

/external/compiler-rt/lib/builtins/
Ddivsf3.c84 uint32_t reciprocal = UINT32_C(0x7504f333) - q31b; in ARM_EABI_FNALIAS() local
94 correction = -((uint64_t)reciprocal * q31b >> 32); in ARM_EABI_FNALIAS()
95 reciprocal = (uint64_t)reciprocal * correction >> 31; in ARM_EABI_FNALIAS()
96 correction = -((uint64_t)reciprocal * q31b >> 32); in ARM_EABI_FNALIAS()
97 reciprocal = (uint64_t)reciprocal * correction >> 31; in ARM_EABI_FNALIAS()
98 correction = -((uint64_t)reciprocal * q31b >> 32); in ARM_EABI_FNALIAS()
99 reciprocal = (uint64_t)reciprocal * correction >> 31; in ARM_EABI_FNALIAS()
107 reciprocal -= 2; in ARM_EABI_FNALIAS()
121 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; in ARM_EABI_FNALIAS()
Ddivdf3.c110 uint64_t correction, reciprocal; in ARM_EABI_FNALIAS() local
114 reciprocal = (uint64_t)recip32*cHi + ((uint64_t)recip32*cLo >> 32); in ARM_EABI_FNALIAS()
121 reciprocal -= 2; in ARM_EABI_FNALIAS()
136 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo); in ARM_EABI_FNALIAS()
Ddivtf3.c112 rep_t correction, reciprocal; in __divtf3() local
128 reciprocal = r64cH + (r64cL >> 64); in __divtf3()
135 reciprocal -= 2; in __divtf3()
150 wideMultiply(aSignificand << 2, reciprocal, &quotient, &quotientLo); in __divtf3()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DScale.java33 final BigDecimal reciprocal; field in Scale
61 this.reciprocal = BigDecimal.ONE.divide(arbitrary, mc); in Scale()
63 this.reciprocal = null; in Scale()
198 if (reciprocal != null) { in applyReciprocalTo()
199 quantity.multiplyBy(reciprocal); in applyReciprocalTo()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DScale.java34 final BigDecimal reciprocal; field in Scale
62 this.reciprocal = BigDecimal.ONE.divide(arbitrary, mc); in Scale()
64 this.reciprocal = null; in Scale()
194 if (reciprocal != null) { in applyReciprocalTo()
195 quantity.multiplyBy(reciprocal); in applyReciprocalTo()
/external/skia/src/pathops/
DSkLineParameters.h131 double reciprocal = 1 / normal; in normalize() local
132 fA *= reciprocal; in normalize()
133 fB *= reciprocal; in normalize()
134 fC *= reciprocal; in normalize()
/external/skqp/src/pathops/
DSkLineParameters.h131 double reciprocal = 1 / normal; in normalize() local
132 fA *= reciprocal; in normalize()
133 fB *= reciprocal; in normalize()
134 fC *= reciprocal; in normalize()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Reciprocal.pbtxt4 name: "math.reciprocal"
7 name: "reciprocal"
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dunary_test.py60 a = gen_math_ops.reciprocal(q)
74 b = gen_math_ops.reciprocal(q)
95 c = gen_math_ops.reciprocal(q)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dsqrt-approx.ll9 ; -- reciprocal sqrt --
63 ; reciprocal(rsqrt.approx.f64(x)). There's no non-ftz approximate reciprocal,
150 attributes #2 = { "reciprocal-estimates" = "rsqrtf:1,rsqrtd:1,sqrtf:1,sqrtd:1" }
/external/pdfium/third_party/libpng16/
Dpngwrite.c1565 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1576 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1598 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1631 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1658 component *= reciprocal; in png_unpremultiply()
1717 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1724 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1728 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
1835 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
1842 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
[all …]
/external/libpng/
Dpngwrite.c1577 png_uint_32 reciprocal = 0; in png_write_image_16bit() local
1588 reciprocal = ((0xffff<<15)+(alpha>>1))/alpha; in png_write_image_16bit()
1610 png_uint_32 calc = component * reciprocal; in png_write_image_16bit()
1643 png_uint_32 reciprocal/*from the above macro*/) in png_unpremultiply() argument
1670 component *= reciprocal; in png_unpremultiply()
1730 png_uint_32 reciprocal = 0; in png_write_image_8bit() local
1737 reciprocal = UNP_RECIPROCAL(alpha); in png_write_image_8bit()
1741 *out_ptr++ = png_unpremultiply(*in_ptr++, alpha, reciprocal); in png_write_image_8bit()
1848 png_uint_32 reciprocal = 0; in png_image_set_PLTE() local
1855 reciprocal = (((0xffff*0xff)<<7)+(alpha>>1))/alpha; in png_image_set_PLTE()
[all …]
/external/tensorflow/tensorflow/contrib/labeled_tensor/
D__init__.py55 reciprocal = _core.reciprocal variable
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Inv.pbtxt3 summary: "Computes the reciprocal of x element-wise."
Dapi_def_Reciprocal.pbtxt3 summary: "Computes the reciprocal of x element-wise."
Dapi_def_Rsqrt.pbtxt3 summary: "Computes reciprocal of square root of x element-wise."
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86Schedule.td230 defm WriteFRcp : X86SchedWritePair; // Floating point reciprocal estimate.
231 defm WriteFRcpX : X86SchedWritePair; // Floating point reciprocal estimate (XMM).
232 defm WriteFRcpY : X86SchedWritePair; // Floating point reciprocal estimate (YMM).
233 defm WriteFRcpZ : X86SchedWritePair; // Floating point reciprocal estimate (ZMM).
234 defm WriteFRsqrt : X86SchedWritePair; // Floating point reciprocal square root estimate.
235 defm WriteFRsqrtX: X86SchedWritePair; // Floating point reciprocal square root estimate (XMM).
236 defm WriteFRsqrtY: X86SchedWritePair; // Floating point reciprocal square root estimate (YMM).
237 defm WriteFRsqrtZ: X86SchedWritePair; // Floating point reciprocal square root estimate (ZMM).
/external/llvm/test/CodeGen/X86/
Dfdiv-combine.ll4 ; should be converted into a reciprocal and multiplication.
81 ; If the reciprocal is already calculated, we should not
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Disassembler/Hexagon/
Dxtype_fp.txt108 # Floating point reciprocal square root approximation
140 # Floating point reciprocal approximation
/external/llvm/test/MC/Disassembler/Hexagon/
Dxtype_fp.txt108 # Floating point reciprocal square root approximation
140 # Floating point reciprocal approximation
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_unary_test.py199 self._compareBoth(y, self._inv, math_ops.reciprocal)
256 self._compareBoth(x, self._inv, math_ops.reciprocal)
307 self._compareBoth(y, self._inv, math_ops.reciprocal)
358 self._compareBoth(y, self._inv, math_ops.reciprocal)
431 self._compareCpu(y, self._inv, math_ops.reciprocal)
476 self._compareCpu(y, self._inv, math_ops.reciprocal)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dfdiv-combine.ll4 ; should be converted into a reciprocal and multiplication.
81 ; If the reciprocal is already calculated, we should not
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFraction.java416 public Fraction reciprocal() { in reciprocal() method in Fraction
577 return multiply(fraction.reciprocal()); in divide()
/external/tensorflow/tensorflow/python/ops/
Dlinalg_grad.py320 math_ops.reciprocal(
422 math_ops.reciprocal(
425 s_inv_mat = array_ops.matrix_diag(math_ops.reciprocal(s))
/external/tensorflow/tensorflow/contrib/mixed_precision/python/
Dloss_scale_optimizer.py167 inv_loss_scale = gen_math_ops.reciprocal(loss_scale)

12345