Searched refs:scalbn (Results 1 - 21 of 21) sorted by relevance

/external/harfbuzz_ng/util/
H A Dview-cairo.cc46 double ascent = y_sign * scalbn ((double) extents.ascender, scale_bits);
47 double descent = y_sign * -scalbn ((double) extents.descender, scale_bits);
48 double font_height = y_sign * scalbn ((double) extents.ascender - extents.descender + extents.line_gap, scale_bits);
H A Dhelper-cairo.cc501 l->glyphs[i].x = scalbn ((double) hb_position->x_offset + x, scale_bits);
502 l->glyphs[i].y = scalbn ((double) -hb_position->y_offset + y, scale_bits);
509 l->glyphs[i].x = scalbn ((double) x, scale_bits);
510 l->glyphs[i].y = scalbn ((double) y, scale_bits);
H A Doptions.hh483 /* fallback implementation for scalbn()/scalbnf() for pre-2013 MSVC */
490 __inline long double scalbn (long double x, int exp) function
/external/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h167 __DEVICE__ double scalbn(double, int);
168 __DEVICE__ float scalbn(float, int);
250 using ::scalbn;
H A Dtgmath.h1157 // scalbn
1165 __tg_scalbn(double __x, int __y) {return scalbn(__x, __y);}
1171 #undef scalbn macro
1172 #define scalbn(__x, __y) __tg_scalbn(__tg_promote1((__x))(__x), __y) macro
/external/compiler-rt/lib/builtins/
H A Dint_math.h105 #define crt_scalbn(x, y) scalbn((x), (y))
/external/llvm/unittests/ADT/
H A DAPFloatTest.cpp2865 TEST(APFloatTest, scalbn) {
2870 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), 0, RM)));
2873 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), 42, RM)));
2876 .bitwiseIsEqual(scalbn(APFloat(APFloat::IEEEsingle, "0x1p+0"), -42, RM)));
2886 EXPECT_TRUE(PInf.bitwiseIsEqual(scalbn(PInf, 0, RM)));
2887 EXPECT_TRUE(MInf.bitwiseIsEqual(scalbn(MInf, 0, RM)));
2888 EXPECT_TRUE(PZero.bitwiseIsEqual(scalbn(PZero, 0, RM)));
2889 EXPECT_TRUE(MZero.bitwiseIsEqual(scalbn(MZero, 0, RM)));
2890 EXPECT_TRUE(QPNaN.bitwiseIsEqual(scalbn(QPNaN, 0, RM)));
2891 EXPECT_TRUE(QMNaN.bitwiseIsEqual(scalbn(QMNa
[all...]
/external/llvm/include/llvm/ADT/
H A DAPFloat.h519 friend APFloat scalbn(APFloat X, int Exp, roundingMode);
651 APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A 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) { function in namespace:llvm
1088 return APFloat(scalbn(X.getIEEE(), Exp, RM), X.getSemantics());
/external/clang/test/CodeGen/
H A Dlibcall-declarations.c157 double scalbn(double, int exp);
293 F(scalblnf), F(scalblnl), F(scalbn), F(scalbnf), F(scalbnl),
456 // CHECK-NOERRNO: declare double @scalbn(double, i32) [[NUW]]
/external/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp96 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } function
1403 static_assert((std::is_same<decltype(scalbn((float)0, (int)0)), float>::value), "");
1404 static_assert((std::is_same<decltype(scalbn((bool)0, (int)0)), double>::value), "");
1405 static_assert((std::is_same<decltype(scalbn((unsigned short)0, (int)0)), double>::value), "");
1406 static_assert((std::is_same<decltype(scalbn((int)0, (int)0)), double>::value), "");
1407 static_assert((std::is_same<decltype(scalbn((unsigned int)0, (int)0)), double>::value), "");
1408 static_assert((std::is_same<decltype(scalbn((long)0, (int)0)), double>::value), "");
1409 static_assert((std::is_same<decltype(scalbn((unsigned long)0, (int)0)), double>::value), "");
1410 static_assert((std::is_same<decltype(scalbn((long long)0, (int)0)), double>::value), "");
1411 static_assert((std::is_same<decltype(scalbn((unsigne
[all...]
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp98 Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); } function
1427 static_assert((std::is_same<decltype(std::scalbn((float)0, (int)0)), float>::value), "");
1428 static_assert((std::is_same<decltype(std::scalbn((bool)0, (int)0)), double>::value), "");
1429 static_assert((std::is_same<decltype(std::scalbn((unsigned short)0, (int)0)), double>::value), "");
1430 static_assert((std::is_same<decltype(std::scalbn((int)0, (int)0)), double>::value), "");
1431 static_assert((std::is_same<decltype(std::scalbn((unsigned int)0, (int)0)), double>::value), "");
1432 static_assert((std::is_same<decltype(std::scalbn((long)0, (int)0)), double>::value), "");
1433 static_assert((std::is_same<decltype(std::scalbn((unsigned long)0, (int)0)), double>::value), "");
1434 static_assert((std::is_same<decltype(std::scalbn((long long)0, (int)0)), double>::value), "");
1435 static_assert((std::is_same<decltype(std::scalbn((unsigne
[all...]
/external/libcxx/include/
H A Dmath.h281 floating_point scalbn (arithmetic x, int ex);
1397 // scalbn
1399 inline _LIBCPP_INLINE_VISIBILITY float scalbn(float __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbnf(__lcpp_x, __lcpp_y);}
1400 inline _LIBCPP_INLINE_VISIBILITY long double scalbn(long double __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbnl(__lcpp_x, __lcpp_y);}
1405 scalbn(_A1 __lcpp_x, int __lcpp_y) _NOEXCEPT {return ::scalbn((double)__lcpp_x, __lcpp_y);}
/external/v8/src/base/
H A Dieee754.cc306 /* set z = scalbn(|x|,ilogb(x)-23) */
417 * z = scalbn(z,-e0)
456 * double scalbn(), floor();
561 z = scalbn(z, q0); /* actual value of z */
603 if (carry != 0) z -= scalbn(one, q0);
635 z = scalbn(z, -q0);
648 fw = scalbn(one, q0);
2102 * x = scalbn(x,-n);
/external/llvm/lib/Support/
H A DAPFloat.cpp3972 APFloat llvm::scalbn(APFloat X, int Exp, APFloat::roundingMode RoundingMode) {
4009 return scalbn(Val, -Exp, RM);
/external/clang/lib/AST/
H A DExprConstant.cpp8812 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven);
8813 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven);
8816 ResR = scalbn((A * C + B * D) / Denom, -DenomLogB,
8818 ResI = scalbn((B * C - A * D) / Denom, -DenomLogB,
/external/compiler-rt/test/builtins/Unit/ppc/
H A Dqdiv_test.c756 double ulpError = scalbn(error, 106 - exponent);
H A Dqmul_test.c754 double ulpError = scalbn(error, 106 - exponent);
H A Dqadd_test.c1833 double ulpError = scalbn(error, 106 - exponent);
H A Dqsub_test.c1835 double ulpError = scalbn(error, 106 - exponent);
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h2029 inline const mpreal scalbn(const mpreal& v, mp_exp_t exp)

Completed in 1784 milliseconds