/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | performance-type-promotion-in-math-fn.cpp | 51 double scalbn(double, int); 209 scalbn(a, i); in check_all_fns() 260 scalbn(0.f, 0); in check_scalbn() 263 scalbn(0.f, static_cast<char>(0)); in check_scalbn() 268 scalbn(0., 0); in check_scalbn() 269 scalbn(0., static_cast<char>(0)); in check_scalbn()
|
/external/rust/crates/libm/src/math/ |
D | rem_pio2_large.rs | 15 use super::scalbn; 292 z = scalbn(z, q0); /* actual value of z */ in rem_pio2_large() 340 z -= scalbn(1., q0); in rem_pio2_large() 385 z = scalbn(z, -q0); in rem_pio2_large() 398 fw = scalbn(1., q0); in rem_pio2_large()
|
D | exp.rs | 68 use super::scalbn; 152 scalbn(y, k) in exp()
|
D | exp2.rs | 27 use super::scalbn; 387 scalbn(r, ki) in exp2()
|
D | ldexp.rs | 3 super::scalbn(x, n) in ldexp()
|
D | mod.rs | 159 mod scalbn; module 273 pub use self::scalbn::scalbn;
|
D | scalbn.rs | 2 pub fn scalbn(x: f64, mut n: i32) -> f64 { in scalbn() function
|
D | fma.rs | 3 use super::scalbn; 203 scalbn(r, e) in fma()
|
/external/OpenCL-CTS/test_common/harness/ |
D | errorHelpers.cpp | 309 #define scalbn(_a, _i) ldexp(_a, _i) macro 362 return (float)scalbn(testVal - reference, ulp_exp); in Ulp_Error_Half_Float() 370 return (float)scalbn(testVal - reference, ulp_exp); in Ulp_Error_Half_Float() 442 return (float)scalbn(testVal - reference, ulp_exp); in Ulp_Error() 450 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/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;
|
/external/llvm-project/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 161 __DEVICE__ double scalbn(double, int); 162 __DEVICE__ float scalbn(float, int); 260 using ::scalbn;
|
D | __clang_hip_cmath.h | 185 __DEF_FUN2_FI(float, scalbn) 457 scalbn(__T __x, int __exp) { 458 return ::scalbn((double)__x, __exp); 542 using ::scalbn;
|
D | __clang_cuda_cmath.h | 350 scalbn(__T __x, int __exp) { 351 return std::scalbn((double)__x, __exp); 423 using ::scalbn;
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 1900 Result = scalbn(APFloat(APFloat::PPCDoubleDouble(), "1.0"), 1, in TEST() 3249 TEST(APFloatTest, scalbn) { in TEST() argument 3254 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 0, RM))); in TEST() 3257 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), 42, RM))); in TEST() 3260 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle(), "0x1p+0"), -42, RM))); in TEST() 3270 EXPECT_TRUE(PInf.bitwiseIsEqual(scalbn(PInf, 0, RM))); in TEST() 3271 EXPECT_TRUE(MInf.bitwiseIsEqual(scalbn(MInf, 0, RM))); in TEST() 3272 EXPECT_TRUE(PZero.bitwiseIsEqual(scalbn(PZero, 0, RM))); in TEST() 3273 EXPECT_TRUE(MZero.bitwiseIsEqual(scalbn(MZero, 0, RM))); in TEST() 3274 EXPECT_TRUE(QPNaN.bitwiseIsEqual(scalbn(QPNaN, 0, RM))); in TEST() [all …]
|
/external/llvm-project/clang/test/Headers/Inputs/include/ |
D | cmath | 139 double scalbn(double, int); 140 float scalbn(float, int); 220 using ::scalbn;
|
D | complex | 215 __c = scalbn(__c, -__ilogbw); 216 __d = scalbn(__d, -__ilogbw); 219 _Tp __x = scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); 220 _Tp __y = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 449 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode); 584 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode); 680 friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode); 1202 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM); 1213 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { in scalbn() function 1215 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics()); in scalbn() 1217 return APFloat(scalbn(X.U.Double, Exp, RM), X.getSemantics()); in scalbn()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APFloat.h | 454 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode); 595 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode); 691 friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode); 1241 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM); 1252 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { in scalbn() function 1254 return APFloat(scalbn(X.U.IEEE, Exp, RM), X.getSemantics()); in scalbn() 1256 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/llvm-project/compiler-rt/lib/builtins/ |
D | int_math.h | 97 #define crt_scalbn(x, y) scalbn((x), (y))
|
/external/compiler-rt/lib/builtins/ |
D | int_math.h | 105 #define crt_scalbn(x, y) scalbn((x), (y))
|