/external/OpenCL-CTS/test_common/harness/ |
D | errorHelpers.cpp | 358 HALF_MANT_DIG - 1 - std::max(ilogb(reference), HALF_MIN_EXP - 1); in Ulp_Error_Half_Float() 366 HALF_MANT_DIG - 1 - std::max(ilogb(reference) - 1, HALF_MIN_EXP - 1); in Ulp_Error_Half_Float() 439 FLT_MANT_DIG - 1 - std::max(ilogb(reference), FLT_MIN_EXP - 1); in Ulp_Error() 448 FLT_MANT_DIG - 1 - std::max(ilogb(reference) - 1, FLT_MIN_EXP - 1); in Ulp_Error()
|
D | compat.h | 162 int ilogb(double x); 382 se exp + ilogb((double)0x##int) \ 383 - ilogb((double)(0x##int##fract##ULL)))
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 99 __DEVICE__ int ilogb(double); 100 __DEVICE__ int ilogb(float); 215 using ::ilogb;
|
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/numerics/c.math/ |
D | constexpr-cxx2b-clang.pass.cpp | 65 ASSERT_NOT_CONSTEXPR_CXX23(std::ilogb(1.0f) == 0); in main() 66 ASSERT_NOT_CONSTEXPR_CXX23(std::ilogb(1.0) == 0); in main() 67 ASSERT_NOT_CONSTEXPR_CXX23(std::ilogb(1.0L) == 0); in main()
|
D | constexpr-cxx2b-gcc.pass.cpp | 62 ASSERT_NOT_CONSTEXPR_CXX23(std::ilogb(1.0f) == 0); in main() 63 ASSERT_CONSTEXPR_CXX23(std::ilogb(1.0) == 0); in main() 64 ASSERT_NOT_CONSTEXPR_CXX23(std::ilogb(1.0L) == 0); in main()
|
/external/musl/src/math/ |
D | significand.c | 6 return scalbn(x, -ilogb(x)); in significand()
|
D | logb.c | 16 return ilogb(x); in logb()
|
D | ilogb.c | 4 int ilogb(double x) in ilogb() function
|
D | ilogbl.c | 7 return ilogb(x); in ilogbl()
|
/external/rust/crates/libm/src/math/ |
D | mod.rs | 141 mod ilogb; module 251 pub use self::ilogb::ilogb;
|
D | ilogb.rs | 5 pub fn ilogb(x: f64) -> i32 { in ilogb() function
|
/external/musl/include/ |
D | tgmath.h | 177 #undef ilogb 240 #define ilogb(x) __tg_real_nocast(ilogb, (x)) macro
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 2822 TEST(APFloatTest, ilogb) { in TEST() argument 2823 EXPECT_EQ(-1074, ilogb(APFloat::getSmallest(APFloat::IEEEdouble, false))); in TEST() 2824 EXPECT_EQ(-1074, ilogb(APFloat::getSmallest(APFloat::IEEEdouble, true))); in TEST() 2825 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble, "0x1.ffffffffffffep-1024"))); in TEST() 2826 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble, "0x1.ffffffffffffep-1023"))); in TEST() 2827 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble, "-0x1.ffffffffffffep-1023"))); in TEST() 2828 EXPECT_EQ(-51, ilogb(APFloat(APFloat::IEEEdouble, "0x1p-51"))); in TEST() 2829 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble, "0x1.c60f120d9f87cp-1023"))); in TEST() 2830 EXPECT_EQ(-2, ilogb(APFloat(APFloat::IEEEdouble, "0x0.ffffp-1"))); in TEST() 2831 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble, "0x1.fffep-1023"))); in TEST() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 516 friend int ilogb(const APFloat &Arg); 650 int ilogb(const APFloat &Arg);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 80 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function 1069 static_assert((std::is_same<decltype(ilogb((float)0)), int>::value), ""); in test_ilogb() 1070 static_assert((std::is_same<decltype(ilogb((bool)0)), int>::value), ""); in test_ilogb() 1071 static_assert((std::is_same<decltype(ilogb((unsigned short)0)), int>::value), ""); in test_ilogb() 1072 static_assert((std::is_same<decltype(ilogb((int)0)), int>::value), ""); in test_ilogb() 1073 static_assert((std::is_same<decltype(ilogb((unsigned int)0)), int>::value), ""); in test_ilogb() 1074 static_assert((std::is_same<decltype(ilogb((long)0)), int>::value), ""); in test_ilogb() 1075 static_assert((std::is_same<decltype(ilogb((unsigned long)0)), int>::value), ""); in test_ilogb() 1076 static_assert((std::is_same<decltype(ilogb((long long)0)), int>::value), ""); in test_ilogb() 1077 static_assert((std::is_same<decltype(ilogb((unsigned long long)0)), int>::value), ""); in test_ilogb() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 446 friend int ilogb(const IEEEFloat &Arg); 583 int ilogb(const IEEEFloat &Arg); 679 friend int ilogb(const DoubleAPFloat &Arg); 1201 friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } in ilogb() function
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 81 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function 545 ASSERT_SAME_TYPE(decltype(ilogb(Ambiguous())), Ambiguous); in test_ilogb() 546 assert(ilogb(1) == 0); in test_ilogb() 790 ASSERT_SAME_TYPE(decltype(::ilogb(T())), int); in operator ()() 791 (void)::ilogb(T()); in operator ()()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 457 friend int ilogb(const IEEEFloat &Arg); 592 int ilogb(const IEEEFloat &Arg); 1075 friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } in ilogb() function
|
/external/clang/test/CodeGen/ |
D | libcall-declarations.c | 103 int ilogb(double); 282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 83 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function 1120 static_assert((std::is_same<decltype(std::ilogb((float)0)), int>::value), ""); in test_ilogb() 1121 static_assert((std::is_same<decltype(std::ilogb((bool)0)), int>::value), ""); in test_ilogb() 1122 static_assert((std::is_same<decltype(std::ilogb((unsigned short)0)), int>::value), ""); in test_ilogb() 1123 static_assert((std::is_same<decltype(std::ilogb((int)0)), int>::value), ""); in test_ilogb() 1124 static_assert((std::is_same<decltype(std::ilogb((unsigned int)0)), int>::value), ""); in test_ilogb() 1125 static_assert((std::is_same<decltype(std::ilogb((long)0)), int>::value), ""); in test_ilogb() 1126 static_assert((std::is_same<decltype(std::ilogb((unsigned long)0)), int>::value), ""); in test_ilogb() 1127 static_assert((std::is_same<decltype(std::ilogb((long long)0)), int>::value), ""); in test_ilogb() 1128 static_assert((std::is_same<decltype(std::ilogb((unsigned long long)0)), int>::value), ""); in test_ilogb() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 82 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function 1150 static_assert((std::is_same<decltype(std::ilogb((float)0)), int>::value), ""); in test_ilogb() 1151 static_assert((std::is_same<decltype(std::ilogb((bool)0)), int>::value), ""); in test_ilogb() 1152 static_assert((std::is_same<decltype(std::ilogb((unsigned short)0)), int>::value), ""); in test_ilogb() 1153 static_assert((std::is_same<decltype(std::ilogb((int)0)), int>::value), ""); in test_ilogb() 1154 static_assert((std::is_same<decltype(std::ilogb((unsigned int)0)), int>::value), ""); in test_ilogb() 1155 static_assert((std::is_same<decltype(std::ilogb((long)0)), int>::value), ""); in test_ilogb() 1156 static_assert((std::is_same<decltype(std::ilogb((unsigned long)0)), int>::value), ""); in test_ilogb() 1157 static_assert((std::is_same<decltype(std::ilogb((long long)0)), int>::value), ""); in test_ilogb() 1158 static_assert((std::is_same<decltype(std::ilogb((unsigned long long)0)), int>::value), ""); in test_ilogb() [all …]
|
/external/compiler-rt/test/builtins/Unit/ppc/ |
D | qadd_test.c | 1831 int exponent = ilogb(r.hi); in testAccuracy()
|
D | qsub_test.c | 1833 int exponent = ilogb(r.hi); in testAccuracy()
|
D | qdiv_test.c | 754 int exponent = ilogb(r.hi); in testAccuracy()
|
D | qmul_test.c | 752 int exponent = ilogb(r.hi); in testAccuracy()
|