| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | ilogb_test.cpp | 19 test_special_numbers<double>(&__llvm_libc::ilogb); in TEST_F() 23 test_powers_of_two<double>(&__llvm_libc::ilogb); in TEST_F() 27 test_some_integers<double>(&__llvm_libc::ilogb); in TEST_F() 31 test_subnormal_range<double>(&__llvm_libc::ilogb); in TEST_F() 35 test_normal_range<double>(&__llvm_libc::ilogb); in TEST_F()
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | ilogb.cl | 28 _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);
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | ilogb.cpp | 15 LLVM_LIBC_FUNCTION(int, ilogb, (double x)) { return fputil::ilogb(x); }
|
| H A D | ilogbf.cpp | 15 LLVM_LIBC_FUNCTION(int, ilogbf, (float x)) { return fputil::ilogb(x); }
|
| H A D | ilogbl.cpp | 15 LLVM_LIBC_FUNCTION(int, ilogbl, (long double x)) { return fputil::ilogb(x); }
|
| H A D | CMakeLists.txt | 598 ilogb 600 ilogb.cpp 602 ../ilogb.h
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 85 __DEVICE__ int ilogb(double); 86 __DEVICE__ int ilogb(float); 228 using ::ilogb;
|
| H A D | __clang_cuda_cmath.h | 266 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(int, ilogb) 395 using ::ilogb;
|
| H A D | __clang_hip_cmath.h | 229 __DEF_FUN1(int, ilogb) 508 __HIP_OVERLOAD1(int, ilogb) 678 using ::ilogb;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 31 double ilogb(double); 146 ilogb(a); in check_all_fns()
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | ilogb.inc | 1 _CLC_OVERLOAD _CLC_DECL __CLC_INTN ilogb(__CLC_GENTYPE x);
|
| H A D | ilogb.h | 1 #define __CLC_BODY <clc/math/ilogb.inc>
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | ilogb.h | 14 int ilogb(double x);
|
| H A D | CMakeLists.txt | 116 add_math_entrypoint_object(ilogb)
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | half.cl | 26 …(void)ilogb(*p); // expected-error{{loading directly from pointer to type '__private half' require… 58 (void)ilogb(*p);
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 66 int ilogb(double); 67 int ilogb(float); 187 using ::ilogb;
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | cmath | 53 __DEVICE__ int ilogb(float __x) { return ::ilogbf(__x); } 108 __DEVICE__ int ilogb(float __x) { return ::ilogbf(__x); }
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 80 Ambiguous ilogb(Ambiguous){ return Ambiguous(); } in ilogb() function 1098 static_assert((std::is_same<decltype(ilogb((float)0)), int>::value), ""); in test_ilogb() 1099 static_assert((std::is_same<decltype(ilogb((bool)0)), int>::value), ""); in test_ilogb() 1101 static_assert((std::is_same<decltype(ilogb((int)0)), int>::value), ""); in test_ilogb() 1102 static_assert((std::is_same<decltype(ilogb((unsigned int)0)), int>::value), ""); in test_ilogb() 1103 static_assert((std::is_same<decltype(ilogb((long)0)), int>::value), ""); in test_ilogb() 1104 static_assert((std::is_same<decltype(ilogb((unsigned long)0)), int>::value), ""); in test_ilogb() 1105 static_assert((std::is_same<decltype(ilogb((long long)0)), int>::value), ""); in test_ilogb() 1107 static_assert((std::is_same<decltype(ilogb((double)0)), int>::value), ""); in test_ilogb() 1108 static_assert((std::is_same<decltype(ilogb((long double)0)), int>::value), ""); in test_ilogb() [all …]
|
| /llvm-project-15.0.7/libclc/clspv/lib/ |
| H A D | SOURCES | 32 ../../generic/lib/math/ilogb.cl
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | libcall-declarations.c | 103 int ilogb(double); 282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | ManipulationFunctions.h | 75 static inline int ilogb(T x) { in ilogb() function
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A 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() 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() 1157 static_assert((std::is_same<decltype(std::ilogb((long long)0)), int>::value), ""); in test_ilogb() 1159 static_assert((std::is_same<decltype(std::ilogb((double)0)), int>::value), ""); in test_ilogb() 1160 static_assert((std::is_same<decltype(std::ilogb((long double)0)), int>::value), ""); in test_ilogb() 1163 static_assert((std::is_same<decltype(ilogb(Ambiguous())), Ambiguous>::value), ""); in test_ilogb() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APFloatTest.cpp | 3250 TEST(APFloatTest, ilogb) { in TEST() argument 3256 EXPECT_EQ(-51, ilogb(APFloat(APFloat::IEEEdouble(), "0x1p-51"))); in TEST() 3264 EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p+0"))); in TEST() 3265 EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle(), "-0x1p+0"))); in TEST() 3266 EXPECT_EQ(42, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p+42"))); in TEST() 3267 EXPECT_EQ(-42, ilogb(APFloat(APFloat::IEEEsingle(), "0x1p-42"))); in TEST() 3270 ilogb(APFloat::getInf(APFloat::IEEEsingle(), false))); in TEST() 3272 ilogb(APFloat::getInf(APFloat::IEEEsingle(), true))); in TEST() 3276 ilogb(APFloat::getZero(APFloat::IEEEsingle(), true))); in TEST() 3278 ilogb(APFloat::getNaN(APFloat::IEEEsingle(), false))); in TEST() [all …]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | numeric.cpp | 75 return std::ilogb(x) + 1; in Exponent() 131 return std::ldexp(std::abs(x), PREC - (std::ilogb(x) + 1)); in RRSpacing() 221 int expo{std::ilogb(x) + 1}; in SetExponent() 243 static_cast<T>(1.0), std::ilogb(x) + 1 - PREC); // 2**(e-p) in Spacing()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 451 friend int ilogb(const IEEEFloat &Arg); 594 int ilogb(const IEEEFloat &Arg); 1250 friend int ilogb(const APFloat &Arg) { return ilogb(Arg.getIEEE()); } in ilogb() function
|