Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-type-promotion-in-math-fn.cpp51 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/
Drem_pio2_large.rs15 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()
Dexp.rs68 use super::scalbn;
152 scalbn(y, k) in exp()
Dexp2.rs27 use super::scalbn;
387 scalbn(r, ki) in exp2()
Dldexp.rs3 super::scalbn(x, n) in ldexp()
Dmod.rs159 mod scalbn; module
273 pub use self::scalbn::scalbn;
Dscalbn.rs2 pub fn scalbn(x: f64, mut n: i32) -> f64 { in scalbn() function
Dfma.rs3 use super::scalbn;
203 scalbn(r, e) in fma()
/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.cpp309 #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/
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()
/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/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h167 __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.h161 __DEVICE__ double scalbn(double, int);
162 __DEVICE__ float scalbn(float, int);
260 using ::scalbn;
D__clang_hip_cmath.h185 __DEF_FUN2_FI(float, scalbn)
457 scalbn(__T __x, int __exp) {
458 return ::scalbn((double)__x, __exp);
542 using ::scalbn;
D__clang_cuda_cmath.h350 scalbn(__T __x, int __exp) {
351 return std::scalbn((double)__x, __exp);
423 using ::scalbn;
/external/llvm-project/llvm/unittests/ADT/
DAPFloatTest.cpp1900 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/
Dcmath139 double scalbn(double, int);
140 float scalbn(float, int);
220 using ::scalbn;
Dcomplex215 __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/
DAPFloat.h449 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/
DAPFloat.h454 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/
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/llvm-project/compiler-rt/lib/builtins/
Dint_math.h97 #define crt_scalbn(x, y) scalbn((x), (y))
/external/compiler-rt/lib/builtins/
Dint_math.h105 #define crt_scalbn(x, y) scalbn((x), (y))

1234