Home
last modified time | relevance | path

Searched refs:scalbn (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/unittests/ADT/
DAPFloatTest.cpp2865 TEST(APFloatTest, scalbn) { in TEST() argument
2870 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), 0, RM))); in TEST()
2873 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), 42, RM))); in TEST()
2876 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), -42, RM))); in TEST()
2886 EXPECT_TRUE(PInf.bitwiseIsEqual(scalbn(PInf, 0, RM))); in TEST()
2887 EXPECT_TRUE(MInf.bitwiseIsEqual(scalbn(MInf, 0, RM))); in TEST()
2888 EXPECT_TRUE(PZero.bitwiseIsEqual(scalbn(PZero, 0, RM))); in TEST()
2889 EXPECT_TRUE(MZero.bitwiseIsEqual(scalbn(MZero, 0, RM))); in TEST()
2890 EXPECT_TRUE(QPNaN.bitwiseIsEqual(scalbn(QPNaN, 0, RM))); in TEST()
2891 EXPECT_TRUE(QMNaN.bitwiseIsEqual(scalbn(QMNaN, 0, RM))); in TEST()
[all …]
/external/harfbuzz_ng/util/
Dview-cairo.cc46 double ascent = y_sign * scalbn ((double) extents.ascender, scale_bits); in render()
47 double descent = y_sign * -scalbn ((double) extents.descender, scale_bits); in render()
48 …double font_height = y_sign * scalbn ((double) extents.ascender - extents.descender + extents.line… in render()
Dhelper-cairo.cc511 l->glyphs[i].x = scalbn ((double) hb_position->x_offset + x, scale_bits); in helper_cairo_line_from_buffer()
512 l->glyphs[i].y = scalbn ((double) -hb_position->y_offset + y, scale_bits); in helper_cairo_line_from_buffer()
519 l->glyphs[i].x = scalbn ((double) x, scale_bits); in helper_cairo_line_from_buffer()
520 l->glyphs[i].y = scalbn ((double) y, scale_bits); in helper_cairo_line_from_buffer()
Doptions.hh694 __inline long double scalbn (long double x, int exp) in scalbn() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPFloatTest.cpp1596 Result = scalbn(APFloat(APFloat::PPCDoubleDouble(), "1.0"), 1, in TEST()
2957 TEST(APFloatTest, scalbn) { in TEST() argument
2962 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 0, RM))); in TEST()
2965 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 42, RM))); in TEST()
2968 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), -42, RM))); in TEST()
2978 EXPECT_TRUE(PInf.bitwiseIsEqual(scalbn(PInf, 0, RM))); in TEST()
2979 EXPECT_TRUE(MInf.bitwiseIsEqual(scalbn(MInf, 0, RM))); in TEST()
2980 EXPECT_TRUE(PZero.bitwiseIsEqual(scalbn(PZero, 0, RM))); in TEST()
2981 EXPECT_TRUE(MZero.bitwiseIsEqual(scalbn(MZero, 0, RM))); in TEST()
2982 EXPECT_TRUE(QPNaN.bitwiseIsEqual(scalbn(QPNaN, 0, RM))); in TEST()
[all …]
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h167 __DEVICE__ double scalbn(double, int);
168 __DEVICE__ float scalbn(float, int);
250 using ::scalbn;
Dtgmath.h1165 __tg_scalbn(double __x, int __y) {return scalbn(__x, __y);} in __tg_scalbn()
1171 #undef scalbn
1172 #define scalbn(__x, __y) __tg_scalbn(__tg_promote1((__x))(__x), __y) macro
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h433 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
567 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
663 friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode);
1182 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1193 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { in scalbn() function
1195 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics()); in scalbn()
1197 return APFloat(scalbn(X.U.Double, Exp, RM), X.getSemantics()); in scalbn()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h460 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
593 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
1076 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1087 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { in scalbn() function
1088 return APFloat(scalbn(X.getIEEE(), Exp, RM), X.getSemantics()); in scalbn()
/external/llvm/include/llvm/ADT/
DAPFloat.h519 friend APFloat scalbn(APFloat X, int Exp, roundingMode);
651 APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode);
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp97 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } in scalbn() function
1412 static_assert((std::is_same<decltype(scalbn((float)0, (int)0)), float>::value), ""); in test_scalbn()
1413 static_assert((std::is_same<decltype(scalbn((bool)0, (int)0)), double>::value), ""); in test_scalbn()
1414 static_assert((std::is_same<decltype(scalbn((unsigned short)0, (int)0)), double>::value), ""); in test_scalbn()
1415 static_assert((std::is_same<decltype(scalbn((int)0, (int)0)), double>::value), ""); in test_scalbn()
1416 static_assert((std::is_same<decltype(scalbn((unsigned int)0, (int)0)), double>::value), ""); in test_scalbn()
1417 static_assert((std::is_same<decltype(scalbn((long)0, (int)0)), double>::value), ""); in test_scalbn()
1418 static_assert((std::is_same<decltype(scalbn((unsigned long)0, (int)0)), double>::value), ""); in test_scalbn()
1419 static_assert((std::is_same<decltype(scalbn((long long)0, (int)0)), double>::value), ""); in test_scalbn()
1420 … static_assert((std::is_same<decltype(scalbn((unsigned long long)0, (int)0)), double>::value), ""); in test_scalbn()
[all …]
/external/compiler-rt/lib/builtins/
Dint_math.h105 #define crt_scalbn(x, y) scalbn((x), (y))
/external/clang/test/CodeGen/
Dlibcall-declarations.c157 double scalbn(double, int exp);
293 F(scalblnf), F(scalblnl), F(scalbn), F(scalbnf), F(scalbnl),
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp100 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } in scalbn() function
1463 static_assert((std::is_same<decltype(std::scalbn((float)0, (int)0)), float>::value), ""); in test_scalbn()
1464 static_assert((std::is_same<decltype(std::scalbn((bool)0, (int)0)), double>::value), ""); in test_scalbn()
1465 …static_assert((std::is_same<decltype(std::scalbn((unsigned short)0, (int)0)), double>::value), ""); in test_scalbn()
1466 static_assert((std::is_same<decltype(std::scalbn((int)0, (int)0)), double>::value), ""); in test_scalbn()
1467 … static_assert((std::is_same<decltype(std::scalbn((unsigned int)0, (int)0)), double>::value), ""); in test_scalbn()
1468 static_assert((std::is_same<decltype(std::scalbn((long)0, (int)0)), double>::value), ""); in test_scalbn()
1469 … static_assert((std::is_same<decltype(std::scalbn((unsigned long)0, (int)0)), double>::value), ""); in test_scalbn()
1470 static_assert((std::is_same<decltype(std::scalbn((long long)0, (int)0)), double>::value), ""); in test_scalbn()
1471 …static_assert((std::is_same<decltype(std::scalbn((unsigned long long)0, (int)0)), double>::value),… in test_scalbn()
[all …]
/external/compiler-rt/test/builtins/Unit/ppc/
Dqsub_test.c1835 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqadd_test.c1833 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqdiv_test.c756 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqmul_test.c754 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
/external/libcxx/include/
Dmath.h1485 inline _LIBCPP_INLINE_VISIBILITY float scalbn(float __lcpp_x, int __lcpp_y) _NOEXCEPT {… in scalbn() function
1486 inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {… in scalbn() function
1491 scalbn(_A1 __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbn((double)__lcpp_x, __lcpp_y);} in scalbn() function
Dcmath288 floating_point scalbn (arithmetic x, int ex);
462 using ::scalbn;
Dcomplex681 __c = scalbn(__c, -__ilogbw);
682 __d = scalbn(__d, -__ilogbw);
685 _Tp __x = scalbn((__a * __c + __b * __d) / __denom, -__ilogbw);
686 _Tp __y = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
/external/v8/src/base/
Dieee754.cc562 z = scalbn(z, q0); /* actual value of z */ in __kernel_rem_pio2()
604 if (carry != 0) z -= scalbn(one, q0); in __kernel_rem_pio2()
636 z = scalbn(z, -q0); in __kernel_rem_pio2()
649 fw = scalbn(one, q0); in __kernel_rem_pio2()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsimple_orc_jit.cc312 REGISTER_LIBM_SYMBOL(scalbn, double (*)(double, int)); in RegisterKnownJITSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPFloat.cpp1751 IEEEFloat V = scalbn(rhs, ilogb(*this) - ilogb(rhs), rmNearestTiesToEven); in mod()
1753 V = scalbn(V, -1, rmNearestTiesToEven); in mod()
3807 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode RoundingMode) { in scalbn() function
3844 return scalbn(Val, -Exp, RM); in frexp()
4395 DoubleAPFloat scalbn(DoubleAPFloat Arg, int Exp, APFloat::roundingMode RM) { in scalbn() function
4397 return DoubleAPFloat(semPPCDoubleDouble, scalbn(Arg.Floats[0], Exp, RM), in scalbn()
4398 scalbn(Arg.Floats[1], Exp, RM)); in scalbn()
4407 Second = scalbn(Second, -Exp, RM); in frexp()
/external/libcxx/include/experimental/
Dsimd414 template <class Abi> floatv<Abi> scalbn(floatv<Abi> x, samesize<int, floatv<Abi>> n);
415 template <class Abi> doublev<Abi> scalbn(doublev<Abi> x, samesize<int, doublev<Abi>> n);
416 template <class Abi> ldoublev<Abi> scalbn(ldoublev<Abi> x, samesize<int, ldoublev<Abi>> n);

12