/external/OpenCL-CTS/test_common/harness/ |
D | errorHelpers.cpp | 285 #define scalbn(_a, _i ) ldexp( _a, _i ) macro 319 return (float) scalbn( testVal - reference, ulp_exp ); in Ulp_Error_Half_Float() 334 return (float) scalbn( testVal - reference, ulp_exp ); in Ulp_Error_Half_Float() 439 return (float) scalbn( testVal - reference, ulp_exp ); in Ulp_Error() 447 return (float) scalbn( testVal - reference, ulp_exp ); in Ulp_Error()
|
/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 | 511 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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 1596 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.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-7.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 433 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/ |
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/compiler-rt/lib/builtins/ |
D | int_math.h | 105 #define crt_scalbn(x, y) scalbn((x), (y))
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 97 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/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 | 100 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/OpenCL-CTS/test_conformance/math_brute_force/ |
D | Utility.h | 89 #define scalbn( _a, _i ) ldexp( _a, _i ) macro
|
/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/v8/src/base/ |
D | ieee754.cc | 506 z = scalbn(z, q0); /* actual value of z */ in __kernel_rem_pio2() 548 if (carry != 0) z -= scalbn(one, q0); in __kernel_rem_pio2() 580 z = scalbn(z, -q0); in __kernel_rem_pio2() 593 fw = scalbn(one, q0); in __kernel_rem_pio2() 2891 z = scalbn(z, n); /* subnormal output */ in pow()
|
/external/libcxx/include/ |
D | math.h | 1485 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
|
D | cmath | 288 floating_point scalbn (arithmetic x, int ex); 462 using ::scalbn;
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | simple_orc_jit.cc | 320 REGISTER_LIBM_SYMBOL(scalbn, double (*)(double, int)); in RegisterKnownJITSymbols()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APFloat.cpp | 1751 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/arm-optimized-routines/math/test/ |
D | ulp.c | 601 #define lscalbn_f scalbn 612 #define scalbn_d scalbn
|