| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | hypot_test.cpp | 16 test_special_numbers(&__llvm_libc::hypot); in TEST_F() 20 test_subnormal_range(&__llvm_libc::hypot); in TEST_F() 24 test_normal_range(&__llvm_libc::hypot); in TEST_F()
|
| /llvm-project-15.0.7/libc/test/src/math/differential_testing/ |
| H A D | hypot_diff.cpp | 15 BINARY_OP_SINGLE_OUTPUT_DIFF(double, __llvm_libc::hypot, ::hypot,
|
| H A D | hypot_perf.cpp | 15 BINARY_OP_SINGLE_OUTPUT_PERF(double, __llvm_libc::hypot, ::hypot,
|
| H A D | CMakeLists.txt | 458 libc.src.math.hypot 469 libc.src.math.hypot
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | hypot.cpp | 15 LLVM_LIBC_FUNCTION(double, hypot, (double x, double y)) { 16 return __llvm_libc::fputil::hypot(x, y);
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mandel.c | 29 double hypot(double, double); 42 if (hypot(__real__ z, __imag__ z) >= ESCAPE) in mandel()
|
| H A D | libcall-declarations.c | 100 double hypot(double noundef, double); 282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
|
| /llvm-project-15.0.7/flang/test/Evaluate/ |
| H A D | folding02.f90 | 64 TEST_R4(hypot, hypot(1.1_4, 0.1_4), 1.10453617572784423828125_4) 108 TEST_R8(hypot, hypot(1.1_8, 0.1_8), &
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/c.math/ |
| H A D | cmath.pass.cpp | 80 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function 81 Ambiguous hypot(Ambiguous, Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function 1106 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot() 1107 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot() 1111 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot() 1113 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), ""); in test_hypot() 1117 static_assert((std::is_same<decltype(std::hypot((float)0, (double)0)), double>::value), ""); in test_hypot() 1122 static_assert((std::is_same<decltype(std::hypot((int)0, (int)0)), double>::value), ""); in test_hypot() 1124 assert(std::hypot(3,4) == 5); in test_hypot() 1143 assert(std::hypot(2,3,6) == 7); in test_hypot() [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_math_forward_declares.h | 83 __DEVICE__ double hypot(double, double); 84 __DEVICE__ float hypot(float, float); 227 using ::hypot;
|
| H A D | __clang_cuda_cmath.h | 265 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, hypot); 394 using ::hypot;
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | cmath | 207 floating_point hypot (arithmetic x, arithmetic y); 211 double hypot(double x, double y, double z); // C++17 212 float hypot(float x, float y, float z); // C++17 213 long double hypot(long double x, long double y, long double z); // C++17 424 using ::hypot _LIBCPP_USING_IF_EXISTS; 533 inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float _… 534 inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double _… 535 inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double _… 546 hypot(_A1 __lcpp_x, _A2 __lcpp_y, _A3 __lcpp_z) _NOEXCEPT 552 return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/ |
| H A D | type-promotion-in-math-fn.cpp | 30 double hypot(double, double); 143 hypot(a, b); in check_all_fns()
|
| /llvm-project-15.0.7/libc/src/math/ |
| H A D | hypot.h | 14 double hypot(double x, double y);
|
| H A D | CMakeLists.txt | 113 add_math_entrypoint_object(hypot)
|
| /llvm-project-15.0.7/libclc/generic/include/clc/math/ |
| H A D | hypot.h | 1 #define __CLC_FUNCTION hypot
|
| /llvm-project-15.0.7/libclc/generic/lib/math/ |
| H A D | hypot.cl | 5 #define __CLC_FUNC hypot
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cmath | 64 double hypot(double, double); 65 float hypot(float, float); 186 using ::hypot;
|
| /llvm-project-15.0.7/libc/test/src/math/exhaustive/ |
| H A D | hypotf_test.cpp | 35 result &= EXPECT_FP_EQ(__llvm_libc::fputil::hypot(x, y), in check()
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | math_h.pass.cpp | 79 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function 1075 static_assert((std::is_same<decltype(hypot((float)0, (float)0)), float>::value), ""); in test_hypot() 1076 static_assert((std::is_same<decltype(hypot((bool)0, (float)0)), double>::value), ""); in test_hypot() 1078 static_assert((std::is_same<decltype(hypot((int)0, (long double)0)), long double>::value), ""); in test_hypot() 1079 static_assert((std::is_same<decltype(hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot() 1080 static_assert((std::is_same<decltype(hypot((double)0, (long)0)), double>::value), ""); in test_hypot() 1082 static_assert((std::is_same<decltype(hypot((int)0, (long long)0)), double>::value), ""); in test_hypot() 1084 static_assert((std::is_same<decltype(hypot((double)0, (double)0)), double>::value), ""); in test_hypot() 1086 static_assert((std::is_same<decltype(hypot((float)0, (double)0)), double>::value), ""); in test_hypot() 1091 static_assert((std::is_same<decltype(hypot((int)0, (int)0)), double>::value), ""); in test_hypot() [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | cmath | 52 __DEVICE__ float hypot(float __x, float __y) { return ::hypotf(__x, __y); } 107 __DEVICE__ float hypot(float __x, float __y) { return ::hypotf(__x, __y); }
|
| /llvm-project-15.0.7/libclc/clspv/lib/ |
| H A D | SOURCES | 31 ../../generic/lib/math/hypot.cl
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarFuncs.def | 75 TLI_DEFINE_SCALAR_MASS_FUNC("hypot", "__xl_hypot")
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | Hypot.h | 102 static inline T hypot(T x, T y) {
|
| /llvm-project-15.0.7/libc/docs/ |
| H A D | math.rst | 135 hypot |check| |check| 162 hypot |check| |check|
|