Home
last modified time | relevance | path

Searched refs:erfc (Results 1 – 25 of 42) sorted by relevance

12

/llvm-project-15.0.7/libclc/generic/lib/math/
H A Derfc.cl73 // Coefficients for approximation to erfc in [1.251/0.35]
92 // Coefficients for approximation to erfc in [1/.3528]
109 _CLC_OVERLOAD _CLC_DEF float erfc(float x) {
188 * double erfc(double x)
195 * erfc(x) = 1-erf(x)
198 * erfc(-x) = 2 - erfc(x)
237 * erfc(x) = (1/x)*exp(-x*x-0.5625+R1/S1)
238 * erf(x) = 1 - erfc(x)
277 * erfc(0) = 1, erfc(inf) = 0, erfc(-inf) = 2,
278 * erfc/erf(NaN) is NaN
[all …]
H A Derf.cl73 // Coefficients for approximation to erfc in [1.251/0.35]
92 // Coefficients for approximation to erfc in [1/.3528]
187 * double erfc(double x)
194 * erfc(x) = 1-erf(x)
197 * erfc(-x) = 2 - erfc(x)
222 * erfc(x) = (1-c) - P1(s)/Q1(s) if x > 0
236 * erfc(x) = (1/x)*exp(-x*x-0.5625+R1/S1)
237 * erf(x) = 1 - erfc(x)
261 * erfc(x) ~ ---------- * ( 1 + Poly(1/x^2) )
276 * erfc(0) = 1, erfc(inf) = 0, erfc(-inf) = 2,
[all …]
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Derfc.h1 #undef erfc
4 #define __CLC_FUNCTION erfc
H A Derf.h1 #undef erfc
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h55 __DEVICE__ double erfc(double);
56 __DEVICE__ float erfc(float);
214 using ::erfc;
H A D__clang_cuda_cmath.h254 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, erfc)
381 using ::erfc;
H A D__clang_hip_cmath.h218 __DEF_FUN1(float, erfc)
494 __HIP_OVERLOAD1(double, erfc)
664 using ::erfc;
H A Dtgmath.h646 __tg_erfc(double __x) {return erfc(__x);} in __tg_erfc()
652 #undef erfc
653 #define erfc(__x) __tg_erfc(__tg_promote1((__x))(__x)) macro
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp17 double erfc(double);
107 erfc(a); in check_all_fns()
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath34 double erfc(double);
35 float erfc(float);
174 using ::erfc;
H A Dmath.h40 double erfc(double __a);
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcmath48 __DEVICE__ float erfc(float __x) { return ::erfcf(__x); }
103 __DEVICE__ float erfc(float __x) { return ::erfcf(__x); }
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp72 Ambiguous erfc(Ambiguous){ return Ambiguous(); } in erfc() function
911 static_assert((std::is_same<decltype(erfc((float)0)), float>::value), ""); in test_erfc()
912 static_assert((std::is_same<decltype(erfc((bool)0)), double>::value), ""); in test_erfc()
914 static_assert((std::is_same<decltype(erfc((int)0)), double>::value), ""); in test_erfc()
915 static_assert((std::is_same<decltype(erfc((unsigned int)0)), double>::value), ""); in test_erfc()
916 static_assert((std::is_same<decltype(erfc((long)0)), double>::value), ""); in test_erfc()
917 static_assert((std::is_same<decltype(erfc((unsigned long)0)), double>::value), ""); in test_erfc()
918 static_assert((std::is_same<decltype(erfc((long long)0)), double>::value), ""); in test_erfc()
920 static_assert((std::is_same<decltype(erfc((double)0)), double>::value), ""); in test_erfc()
924 static_assert((std::is_same<decltype(erfc(Ambiguous())), Ambiguous>::value), ""); in test_erfc()
[all …]
/llvm-project-15.0.7/libclc/clspv/lib/
H A DSOURCES24 ../../generic/lib/math/erfc.cl
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c73 double erfc(double);
276 F(erf), F(erff), F(erfl), F(erfc), F(erfcf),
H A Dmath-libcalls.c190 erfc(f); erfcf(f); erfcl(f); in foo()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def64 TLI_DEFINE_SCALAR_MASS_FUNC("erfc", "__xl_erfc")
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp73 Ambiguous erfc(Ambiguous){ return Ambiguous(); } in erfc() function
942 static_assert((std::is_same<decltype(std::erfc((float)0)), float>::value), ""); in test_erfc()
943 static_assert((std::is_same<decltype(std::erfc((bool)0)), double>::value), ""); in test_erfc()
945 static_assert((std::is_same<decltype(std::erfc((int)0)), double>::value), ""); in test_erfc()
946 static_assert((std::is_same<decltype(std::erfc((unsigned int)0)), double>::value), ""); in test_erfc()
947 static_assert((std::is_same<decltype(std::erfc((long)0)), double>::value), ""); in test_erfc()
948 static_assert((std::is_same<decltype(std::erfc((unsigned long)0)), double>::value), ""); in test_erfc()
949 static_assert((std::is_same<decltype(std::erfc((long long)0)), double>::value), ""); in test_erfc()
951 static_assert((std::is_same<decltype(std::erfc((double)0)), double>::value), ""); in test_erfc()
955 static_assert((std::is_same<decltype(erfc(Ambiguous())), Ambiguous>::value), ""); in test_erfc()
[all …]
/llvm-project-15.0.7/libclc/spirv/lib/
H A DSOURCES37 ../../generic/lib/math/erfc.cl
/llvm-project-15.0.7/libclc/spirv64/lib/
H A DSOURCES37 ../../generic/lib/math/erfc.cl
/llvm-project-15.0.7/libcxx/include/
H A Dmath.h1211 inline _LIBCPP_INLINE_VISIBILITY float erfc(float __lcpp_x) _NOEXCEPT {return ::erfcf(_… in erfc() function
1212 inline _LIBCPP_INLINE_VISIBILITY long double erfc(long double __lcpp_x) _NOEXCEPT {return ::erfcl(_… in erfc() function
1217 erfc(_A1 __lcpp_x) _NOEXCEPT {return ::erfc((double)__lcpp_x);} in erfc() function
H A Dcmath179 floating_point erfc (arithmetic x);
410 using ::erfc _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/libclc/generic/lib/
H A DSOURCES99 math/erfc.cl
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dlower-scalar-mass-afn.ll45 declare double @erfc (double);
458 %call = tail call afn double @erfc(double %a)
/llvm-project-15.0.7/libc/docs/
H A Dmath.rst130 erfc

12