Home
last modified time | relevance | path

Searched refs:scalbn (Results 1 – 25 of 26) 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.cc503 l->glyphs[i].x = scalbn ((double) hb_position->x_offset + x, scale_bits); in helper_cairo_line_from_buffer()
504 l->glyphs[i].y = scalbn ((double) -hb_position->y_offset + y, scale_bits); in helper_cairo_line_from_buffer()
511 l->glyphs[i].x = scalbn ((double) x, scale_bits); in helper_cairo_line_from_buffer()
512 l->glyphs[i].y = scalbn ((double) y, scale_bits); in helper_cairo_line_from_buffer()
Doptions.hh647 __inline long double scalbn (long double x, int exp) in scalbn() function
/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-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.cpp96 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } in scalbn() function
1403 static_assert((std::is_same<decltype(scalbn((float)0, (int)0)), float>::value), ""); in test_scalbn()
1404 static_assert((std::is_same<decltype(scalbn((bool)0, (int)0)), double>::value), ""); in test_scalbn()
1405 static_assert((std::is_same<decltype(scalbn((unsigned short)0, (int)0)), double>::value), ""); in test_scalbn()
1406 static_assert((std::is_same<decltype(scalbn((int)0, (int)0)), double>::value), ""); in test_scalbn()
1407 static_assert((std::is_same<decltype(scalbn((unsigned int)0, (int)0)), double>::value), ""); in test_scalbn()
1408 static_assert((std::is_same<decltype(scalbn((long)0, (int)0)), double>::value), ""); in test_scalbn()
1409 static_assert((std::is_same<decltype(scalbn((unsigned long)0, (int)0)), double>::value), ""); in test_scalbn()
1410 static_assert((std::is_same<decltype(scalbn((long long)0, (int)0)), double>::value), ""); in test_scalbn()
1411 … 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.cpp99 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } in scalbn() function
1460 static_assert((std::is_same<decltype(std::scalbn((float)0, (int)0)), float>::value), ""); in test_scalbn()
1461 static_assert((std::is_same<decltype(std::scalbn((bool)0, (int)0)), double>::value), ""); in test_scalbn()
1462 …static_assert((std::is_same<decltype(std::scalbn((unsigned short)0, (int)0)), double>::value), ""); in test_scalbn()
1463 static_assert((std::is_same<decltype(std::scalbn((int)0, (int)0)), double>::value), ""); in test_scalbn()
1464 … static_assert((std::is_same<decltype(std::scalbn((unsigned int)0, (int)0)), double>::value), ""); in test_scalbn()
1465 static_assert((std::is_same<decltype(std::scalbn((long)0, (int)0)), double>::value), ""); in test_scalbn()
1466 … static_assert((std::is_same<decltype(std::scalbn((unsigned long)0, (int)0)), double>::value), ""); in test_scalbn()
1467 static_assert((std::is_same<decltype(std::scalbn((long long)0, (int)0)), double>::value), ""); in test_scalbn()
1468 …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/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsimple_orc_jit.cc256 REGISTER_LIBM_SYMBOL(scalbn, double (*)(double, int)); in RegisterKnownJITSymbols()
/external/v8/src/base/
Dieee754.cc561 z = scalbn(z, q0); /* actual value of z */ in __kernel_rem_pio2()
603 if (carry != 0) z -= scalbn(one, q0); in __kernel_rem_pio2()
635 z = scalbn(z, -q0); in __kernel_rem_pio2()
648 fw = scalbn(one, q0); in __kernel_rem_pio2()
/external/libcxx/include/
Dmath.h1465 inline _LIBCPP_INLINE_VISIBILITY float scalbn(float __lcpp_x, int __lcpp_y) _NOEXCEPT {… in scalbn() function
1466 inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {… in scalbn() function
1471 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);
461 using ::scalbn;
Dcomplex680 __c = scalbn(__c, -__ilogbw);
681 __d = scalbn(__d, -__ilogbw);
684 _Tp __x = scalbn((__a * __c + __b * __d) / __denom, -__ilogbw);
685 _Tp __y = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
/external/llvm/lib/Support/
DAPFloat.cpp3972 APFloat llvm::scalbn(APFloat X, int Exp, APFloat::roundingMode RoundingMode) { in scalbn() function in llvm
4009 return scalbn(Val, -Exp, RM); in frexp()
/external/clang/lib/AST/
DExprConstant.cpp8812 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
8813 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
8816 ResR = scalbn((A * C + B * D) / Denom, -DenomLogB, in VisitBinaryOperator()
8818 ResI = scalbn((B * C - A * D) / Denom, -DenomLogB, in VisitBinaryOperator()
/external/clang/include/clang/Basic/
DBuiltins.def1089 LIBBUILTIN(scalbn, "ddi", "fne", "math.h", ALL_LANGUAGES)
/external/eigen/unsupported/test/mpreal/
Dmpreal.h2029 inline const mpreal scalbn(const mpreal& v, mp_exp_t exp)

12