Home
last modified time | relevance | path

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

1234

/external/llvm-project/libc/test/src/math/
Dilogb_test.cpp19 testSpecialNumbers<double>(&__llvm_libc::ilogb); in TEST_F()
23 testPowersOfTwo<double>(&__llvm_libc::ilogb); in TEST_F()
27 testSomeIntegers<double>(&__llvm_libc::ilogb); in TEST_F()
31 testSubnormalRange<double>(&__llvm_libc::ilogb); in TEST_F()
35 testNormalRange<double>(&__llvm_libc::ilogb); in TEST_F()
/external/llvm-project/libclc/generic/lib/math/
Dilogb.cl28 _CLC_OVERLOAD _CLC_DEF int ilogb(float x) {
41 // FP_ILOGBNAN can change without requiring changes to ilogb() code.
47 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, int, ilogb, float);
52 _CLC_OVERLOAD _CLC_DEF int ilogb(double x) {
65 // FP_ILOGBNAN can change without requiring changes to ilogb() code.
71 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, int, ilogb, double);
/external/llvm-project/libc/src/math/
Dilogb.cpp14 int LLVM_LIBC_ENTRYPOINT(ilogb)(double x) { return fputil::ilogb(x); } in LLVM_LIBC_ENTRYPOINT() argument
Dilogb.h14 int ilogb(double x);
Dilogbf.cpp14 int LLVM_LIBC_ENTRYPOINT(ilogbf)(float x) { return fputil::ilogb(x); } in LLVM_LIBC_ENTRYPOINT()
Dilogbl.cpp14 int LLVM_LIBC_ENTRYPOINT(ilogbl)(long double x) { return fputil::ilogb(x); } in LLVM_LIBC_ENTRYPOINT()
DCMakeLists.txt346 ilogb
348 ilogb.cpp
350 ilogb.h
/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.cpp359 HALF_MANT_DIG - 1 - MAX(ilogb(reference), HALF_MIN_EXP - 1); in Ulp_Error_Half_Float()
367 HALF_MANT_DIG - 1 - MAX(ilogb(reference) - 1, HALF_MIN_EXP - 1); in Ulp_Error_Half_Float()
439 int ulp_exp = FLT_MANT_DIG - 1 - MAX(ilogb(reference), FLT_MIN_EXP - 1); in Ulp_Error()
447 int ulp_exp = FLT_MANT_DIG - 1 - MAX(ilogb(reference) - 1, FLT_MIN_EXP - 1); in Ulp_Error()
Dcompat.h162 int ilogb(double x);
389 se exp + ilogb((double)0x##int) \
390 - ilogb((double)(0x##int##fract##ULL)))
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h99 __DEVICE__ int ilogb(double);
100 __DEVICE__ int ilogb(float);
215 using ::ilogb;
/external/llvm-project/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h85 __DEVICE__ int ilogb(double);
86 __DEVICE__ int ilogb(float);
225 using ::ilogb;
D__clang_hip_cmath.h167 __DEF_FUN1(int, ilogb)
341 __HIP_OVERLOAD1(int, ilogb)
509 using ::ilogb;
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-type-promotion-in-math-fn.cpp31 double ilogb(double);
146 ilogb(a); in check_all_fns()
/external/llvm-project/libclc/generic/include/clc/math/
Dilogb.inc1 _CLC_OVERLOAD _CLC_DECL __CLC_INTN ilogb(__CLC_GENTYPE x);
Dilogb.h1 #define __CLC_BODY <clc/math/ilogb.inc>
/external/rust/crates/libm/src/math/
Dmod.rs125 mod ilogb; module
233 pub use self::ilogb::ilogb;
Dilogb.rs4 pub fn ilogb(x: f64) -> i32 { in ilogb() function
/external/llvm-project/clang/test/Headers/Inputs/include/
Dcmath66 int ilogb(double);
67 int ilogb(float);
187 using ::ilogb;
/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/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp80 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function
1101 static_assert((std::is_same<decltype(ilogb((float)0)), int>::value), ""); in test_ilogb()
1102 static_assert((std::is_same<decltype(ilogb((bool)0)), int>::value), ""); in test_ilogb()
1103 static_assert((std::is_same<decltype(ilogb((unsigned short)0)), int>::value), ""); in test_ilogb()
1104 static_assert((std::is_same<decltype(ilogb((int)0)), int>::value), ""); in test_ilogb()
1105 static_assert((std::is_same<decltype(ilogb((unsigned int)0)), int>::value), ""); in test_ilogb()
1106 static_assert((std::is_same<decltype(ilogb((long)0)), int>::value), ""); in test_ilogb()
1107 static_assert((std::is_same<decltype(ilogb((unsigned long)0)), int>::value), ""); in test_ilogb()
1108 static_assert((std::is_same<decltype(ilogb((long long)0)), int>::value), ""); in test_ilogb()
1109 static_assert((std::is_same<decltype(ilogb((unsigned long long)0)), int>::value), ""); in test_ilogb()
[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-10.0/llvm/include/llvm/ADT/
DAPFloat.h446 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/llvm-project/llvm/include/llvm/ADT/
DAPFloat.h451 friend int ilogb(const IEEEFloat &Arg);
594 int ilogb(const IEEEFloat &Arg);
690 friend int ilogb(const DoubleAPFloat &Arg);
1240 friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } in ilogb() function
/external/llvm-project/libc/utils/FPUtil/
DManipulationFunctions.h73 static inline int ilogb(T x) { in ilogb() function

1234