Home
last modified time | relevance | path

Searched refs:hypot (Results 1 – 25 of 64) sorted by relevance

123

/llvm-project-15.0.7/libc/test/src/math/
H A Dhypot_test.cpp16 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 Dhypot_diff.cpp15 BINARY_OP_SINGLE_OUTPUT_DIFF(double, __llvm_libc::hypot, ::hypot,
H A Dhypot_perf.cpp15 BINARY_OP_SINGLE_OUTPUT_PERF(double, __llvm_libc::hypot, ::hypot,
H A DCMakeLists.txt458 libc.src.math.hypot
469 libc.src.math.hypot
/llvm-project-15.0.7/libc/src/math/generic/
H A Dhypot.cpp15 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 Dmandel.c29 double hypot(double, double);
42 if (hypot(__real__ z, __imag__ z) >= ESCAPE) in mandel()
H A Dlibcall-declarations.c100 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 Dfolding02.f9064 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 Dcmath.pass.cpp80 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.h83 __DEVICE__ double hypot(double, double);
84 __DEVICE__ float hypot(float, float);
227 using ::hypot;
H A D__clang_cuda_cmath.h265 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, hypot);
394 using ::hypot;
/llvm-project-15.0.7/libcxx/include/
H A Dcmath207 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 Dtype-promotion-in-math-fn.cpp30 double hypot(double, double);
143 hypot(a, b); in check_all_fns()
/llvm-project-15.0.7/libc/src/math/
H A Dhypot.h14 double hypot(double x, double y);
H A DCMakeLists.txt113 add_math_entrypoint_object(hypot)
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dhypot.h1 #define __CLC_FUNCTION hypot
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dhypot.cl5 #define __CLC_FUNC hypot
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath64 double hypot(double, double);
65 float hypot(float, float);
186 using ::hypot;
/llvm-project-15.0.7/libc/test/src/math/exhaustive/
H A Dhypotf_test.cpp35 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 Dmath_h.pass.cpp79 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 Dcmath52 __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 DSOURCES31 ../../generic/lib/math/hypot.cl
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def75 TLI_DEFINE_SCALAR_MASS_FUNC("hypot", "__xl_hypot")
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DHypot.h102 static inline T hypot(T x, T y) {
/llvm-project-15.0.7/libc/docs/
H A Dmath.rst135 hypot |check| |check|
162 hypot |check| |check|

123