Home
last modified time | relevance | path

Searched refs:ilogb (Results 1 – 25 of 38) sorted by relevance

12

/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.cpp316 int ulp_exp = HALF_MANT_DIG - 1 - MAX( ilogb( reference), HALF_MIN_EXP-1 ); in Ulp_Error_Half_Float()
331 int ulp_exp = HALF_MANT_DIG - 1 - MAX( ilogb( reference) - 1, HALF_MIN_EXP-1 ); in Ulp_Error_Half_Float()
436 int ulp_exp = FLT_MANT_DIG - 1 - MAX( ilogb( reference), FLT_MIN_EXP-1 ); in Ulp_Error()
444 int ulp_exp = FLT_MANT_DIG - 1 - MAX( ilogb( reference) - 1, FLT_MIN_EXP-1 ); in Ulp_Error()
Dcompat.h163 int ilogb( double x);
389 …( (double)( 0x ## int ## fract ## ULL ), se exp + ilogb( (double) 0x ## int ) - ilogb(…
Dmsvc9.c135 int ilogb (double x) in ilogb() function
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h99 __DEVICE__ int ilogb(double);
100 __DEVICE__ int ilogb(float);
215 using ::ilogb;
Dtgmath.h851 __tg_ilogb(double __x) {return ilogb(__x);} in __tg_ilogb()
857 #undef ilogb
858 #define ilogb(__x) __tg_ilogb(__tg_promote1((__x))(__x)) macro
/external/llvm/unittests/ADT/
DAPFloatTest.cpp2822 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/
DAPFloat.h516 friend int ilogb(const APFloat &Arg);
650 int ilogb(const APFloat &Arg);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPFloat.h430 friend int ilogb(const IEEEFloat &Arg);
566 int ilogb(const IEEEFloat &Arg);
662 friend int ilogb(const DoubleAPFloat &Arg);
1181 friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } in ilogb() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPFloatTest.cpp2914 TEST(APFloatTest, ilogb) { in TEST() argument
2915 EXPECT_EQ(-1074, ilogb(APFloat::getSmallest(APFloat::IEEEdouble(), false))); in TEST()
2916 EXPECT_EQ(-1074, ilogb(APFloat::getSmallest(APFloat::IEEEdouble(), true))); in TEST()
2917 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble(), "0x1.ffffffffffffep-1024"))); in TEST()
2918 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble(), "0x1.ffffffffffffep-1023"))); in TEST()
2919 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble(), "-0x1.ffffffffffffep-1023"))); in TEST()
2920 EXPECT_EQ(-51, ilogb(APFloat(APFloat::IEEEdouble(), "0x1p-51"))); in TEST()
2921 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble(), "0x1.c60f120d9f87cp-1023"))); in TEST()
2922 EXPECT_EQ(-2, ilogb(APFloat(APFloat::IEEEdouble(), "0x0.ffffp-1"))); in TEST()
2923 EXPECT_EQ(-1023, ilogb(APFloat(APFloat::IEEEdouble(), "0x1.fffep-1023"))); in TEST()
[all …]
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp80 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-subzero/include/llvm/ADT/
DAPFloat.h457 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/
Dlibcall-declarations.c103 int ilogb(double);
282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
/external/OpenCL-CTS/test_conformance/clcpp/math_funcs/
Dlogarithmic_funcs.hpp112 return (std::ilogb)(x); in operator ()()
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp83 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/compiler-rt/test/builtins/Unit/ppc/
Dqsub_test.c1833 int exponent = ilogb(r.hi); in testAccuracy()
Dqadd_test.c1831 int exponent = ilogb(r.hi); in testAccuracy()
Dqdiv_test.c754 int exponent = ilogb(r.hi); in testAccuracy()
Dqmul_test.c752 int exponent = ilogb(r.hi); in testAccuracy()
/external/libcxx/include/
Dmath.h1280 inline _LIBCPP_INLINE_VISIBILITY int ilogb(float __lcpp_x) _NOEXCEPT {return ::ilogbf(__lcpp_… in ilogb() function
1281 inline _LIBCPP_INLINE_VISIBILITY int ilogb(long double __lcpp_x) _NOEXCEPT {return ::ilogbl(__lcpp_… in ilogb() function
1286 ilogb(_A1 __lcpp_x) _NOEXCEPT {return ::ilogb((double)__lcpp_x);} in ilogb() function
Dcmath216 int ilogb (arithmetic x);
424 using ::ilogb;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsimple_orc_jit.cc296 REGISTER_LIBM_SYMBOL(ilogb, int (*)(double)); in RegisterKnownJITSymbols()
/external/OpenCL-CTS/test_conformance/math_brute_force/
DFunctionList.cpp129 … ENTRY( ilogb, 0.0f, 0.0f, FTZ_OFF, i_unaryF),
/external/deqp-deps/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp134 CASE1(Ilogb, ilogb),
/external/angle/third_party/spirv-tools/src/test/
Dext_inst.opencl_test.cpp134 CASE1(Ilogb, ilogb),
/external/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp134 CASE1(Ilogb, ilogb),

12