/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 2865 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/ |
D | view-cairo.cc | 46 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()
|
D | helper-cairo.cc | 503 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()
|
D | options.hh | 647 __inline long double scalbn (long double x, int exp) in scalbn() function
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 167 __DEVICE__ double scalbn(double, int); 168 __DEVICE__ float scalbn(float, int); 250 using ::scalbn;
|
D | tgmath.h | 1165 __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/ |
D | APFloat.h | 460 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/ |
D | APFloat.h | 519 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/ |
D | math_h.pass.cpp | 96 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/ |
D | int_math.h | 105 #define crt_scalbn(x, y) scalbn((x), (y))
|
/external/clang/test/CodeGen/ |
D | libcall-declarations.c | 157 double scalbn(double, int exp); 293 F(scalblnf), F(scalblnl), F(scalbn), F(scalbnf), F(scalbnl),
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 99 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/ |
D | qsub_test.c | 1835 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
|
D | qadd_test.c | 1833 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
|
D | qdiv_test.c | 756 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
|
D | qmul_test.c | 754 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | simple_orc_jit.cc | 256 REGISTER_LIBM_SYMBOL(scalbn, double (*)(double, int)); in RegisterKnownJITSymbols()
|
/external/v8/src/base/ |
D | ieee754.cc | 561 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/ |
D | math.h | 1465 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
|
D | cmath | 288 floating_point scalbn (arithmetic x, int ex); 461 using ::scalbn;
|
D | complex | 680 __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/ |
D | APFloat.cpp | 3972 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/ |
D | ExprConstant.cpp | 8812 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/ |
D | Builtins.def | 1089 LIBBUILTIN(scalbn, "ddi", "fne", "math.h", ALL_LANGUAGES)
|
/external/eigen/unsupported/test/mpreal/ |
D | mpreal.h | 2029 inline const mpreal scalbn(const mpreal& v, mp_exp_t exp)
|