Home
last modified time | relevance | path

Searched refs:logb (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Lib/test/decimaltestdata/
Dlogb.decTest2 -- logb.decTest -- return integral adjusted exponent as per 754r --
32 logbx001 logb 0 -> -Infinity Division_by_zero
33 logbx002 logb 1E-999 -> -999
34 logbx003 logb 9E-999 -> -999
35 logbx004 logb 0.001 -> -3
36 logbx005 logb 0.03 -> -2
37 logbx006 logb 1 -> 0
38 logbx007 logb 2 -> 0
39 logbx008 logb 2.5 -> 0
40 logbx009 logb 2.50 -> 0
[all …]
DdqLogB.decTest30 dqlogb000 logb 0 -> -Infinity Division_by_zero
31 dqlogb001 logb 1E-6176 -> -6176
32 dqlogb002 logb 1E-6143 -> -6143
33 dqlogb003 logb 0.001 -> -3
34 dqlogb004 logb 0.03 -> -2
35 dqlogb005 logb 1 -> 0
36 dqlogb006 logb 2 -> 0
37 dqlogb007 logb 2.5 -> 0
38 dqlogb008 logb 2.50 -> 0
39 dqlogb009 logb 2.500 -> 0
[all …]
DddLogB.decTest30 ddlogb000 logb 0 -> -Infinity Division_by_zero
31 ddlogb001 logb 1E-398 -> -398
32 ddlogb002 logb 1E-383 -> -383
33 ddlogb003 logb 0.001 -> -3
34 ddlogb004 logb 0.03 -> -2
35 ddlogb005 logb 1 -> 0
36 ddlogb006 logb 2 -> 0
37 ddlogb007 logb 2.5 -> 0
38 ddlogb008 logb 2.500 -> 0
39 ddlogb009 logb 10 -> 1
[all …]
Dtestall.decTest45 dectest: logb
/external/clang/test/Headers/
Dtgmath.c36 _Static_assert(sizeof(logb(f)) == sizeof(f), "");
37 _Static_assert(sizeof(logb(d)) == sizeof(d), "");
38 _Static_assert(sizeof(logb(l)) == sizeof(l), "");
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h135 __DEVICE__ double logb(double);
136 __DEVICE__ float logb(float);
235 using ::logb;
Dtgmath.h987 __tg_logb(double __x) {return logb(__x);} in __tg_logb()
993 #undef logb
994 #define logb(__x) __tg_logb(__tg_promote1((__x))(__x)) macro
/external/bison/linux-lib/
Dmath.h1817 # undef logb
1818 # define logb rpl_logb
1820 _GL_FUNCDECL_RPL (logb, double, (double x));
1821 _GL_CXXALIAS_RPL (logb, double, (double x));
1824 _GL_FUNCDECL_SYS (logb, double, (double x));
1826 _GL_CXXALIAS_SYS (logb, double, (double x));
1828 _GL_CXXALIASWARN (logb);
1830 # undef logb
1832 _GL_WARN_ON_USE (logb, "logb is unportable - "
/external/bison/lib/
Dmath.in.h1505 # undef logb
1506 # define logb rpl_logb macro
1508 _GL_FUNCDECL_RPL (logb, double, (double x));
1509 _GL_CXXALIAS_RPL (logb, double, (double x));
1512 _GL_FUNCDECL_SYS (logb, double, (double x));
1514 _GL_CXXALIAS_SYS (logb, double, (double x));
1516 _GL_CXXALIASWARN (logb);
1518 # undef logb
1520 _GL_WARN_ON_USE (logb, "logb is unportable - "
/external/bison/darwin-lib/
Dmath.h1817 # undef logb
1818 # define logb rpl_logb
1820 _GL_FUNCDECL_RPL (logb, double, (double x));
1821 _GL_CXXALIAS_RPL (logb, double, (double x));
1824 _GL_FUNCDECL_SYS (logb, double, (double x));
1826 _GL_CXXALIAS_SYS (logb, double, (double x));
1828 _GL_CXXALIASWARN (logb);
1830 # undef logb
1832 _GL_WARN_ON_USE (logb, "logb is unportable - "
/external/compiler-rt/lib/builtins/
Dint_math.h95 #define crt_logb(x) logb((x))
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp85 Ambiguous logb(Ambiguous){ return Ambiguous(); } in logb() function
1174 static_assert((std::is_same<decltype(logb((float)0)), float>::value), ""); in test_logb()
1175 static_assert((std::is_same<decltype(logb((bool)0)), double>::value), ""); in test_logb()
1176 static_assert((std::is_same<decltype(logb((unsigned short)0)), double>::value), ""); in test_logb()
1177 static_assert((std::is_same<decltype(logb((int)0)), double>::value), ""); in test_logb()
1178 static_assert((std::is_same<decltype(logb((unsigned int)0)), double>::value), ""); in test_logb()
1179 static_assert((std::is_same<decltype(logb((long)0)), double>::value), ""); in test_logb()
1180 static_assert((std::is_same<decltype(logb((unsigned long)0)), double>::value), ""); in test_logb()
1181 static_assert((std::is_same<decltype(logb((long long)0)), double>::value), ""); in test_logb()
1182 static_assert((std::is_same<decltype(logb((unsigned long long)0)), double>::value), ""); in test_logb()
[all …]
/external/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-1.ll254 %call = call fast double @logb(double %conv)
263 %call = call fast double @logb(double %conv)
266 ; CHECK: call fast double @logb(double %conv)
402 declare double @logb(double)
/external/clang/test/CodeGen/
Dlibcall-declarations.c127 double logb(double);
287 F(log2f), F(log2l), F(logb), F(logbf), F(logbl),
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp87 Ambiguous logb(Ambiguous){ return Ambiguous(); } in logb() function
1198 static_assert((std::is_same<decltype(std::logb((float)0)), float>::value), ""); in test_logb()
1199 static_assert((std::is_same<decltype(std::logb((bool)0)), double>::value), ""); in test_logb()
1200 static_assert((std::is_same<decltype(std::logb((unsigned short)0)), double>::value), ""); in test_logb()
1201 static_assert((std::is_same<decltype(std::logb((int)0)), double>::value), ""); in test_logb()
1202 static_assert((std::is_same<decltype(std::logb((unsigned int)0)), double>::value), ""); in test_logb()
1203 static_assert((std::is_same<decltype(std::logb((long)0)), double>::value), ""); in test_logb()
1204 static_assert((std::is_same<decltype(std::logb((unsigned long)0)), double>::value), ""); in test_logb()
1205 static_assert((std::is_same<decltype(std::logb((long long)0)), double>::value), ""); in test_logb()
1206 static_assert((std::is_same<decltype(std::logb((unsigned long long)0)), double>::value), ""); in test_logb()
[all …]
/external/libcxx/include/
Dmath.h1254 inline _LIBCPP_INLINE_VISIBILITY float logb(float __lcpp_x) _NOEXCEPT {return ::logbf(_… in logb() function
1255 inline _LIBCPP_INLINE_VISIBILITY long double logb(long double __lcpp_x) _NOEXCEPT {return ::logbl(_… in logb() function
1260 logb(_A1 __lcpp_x) _NOEXCEPT {return ::logb((double)__lcpp_x);} in logb() function
Dcmath240 floating_point logb (arithmetic x);
434 using ::logb;
/external/llvm/test/Transforms/InferFunctionAttrs/
Dno-proto.ll444 ; CHECK: declare void @logb(...)
445 declare void @logb(...)
Dannotate.ll463 ; CHECK: declare double @logb(double)
464 declare double @logb(double)
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def695 /// double logb(double x);
696 TLI_DEFINE_ENUM_INTERNAL(logb)
697 TLI_DEFINE_STRING_INTERNAL("logb")
/external/bison/m4/
Dmath_h.m449 logb logbf logbl
/external/python/cpython2/Lib/test/
Dtest_decimal.py1983 d = c.logb(Decimal(10))
1984 self.assertEqual(c.logb(10), d)
1985 self.assertRaises(TypeError, c.logb, '10')
/external/python/cpython2/Lib/
Ddecimal.py3217 def logb(self, context=None): member in Decimal
4536 def logb(self, a): member in Context
4560 return a.logb(context=self)
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp179 TLI.setUnavailable(LibFunc::logb); in initialize()
/external/eigen/unsupported/test/mpreal/
Dmpreal.h349 friend const mpreal logb (const mpreal& v, mp_rnd_t rnd_mode);
2240 inline const mpreal logb (const mpreal& x, mp_rnd_t r = mpreal::get_default_rnd()) { return log2…

12