Home
last modified time | relevance | path

Searched refs:sinh (Results 1 – 25 of 68) sorted by relevance

123

/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dsinh.cl29 _CLC_OVERLOAD _CLC_DEF float sinh(float x)
33 // sinh(x) = sign(x)*Inf
38 // sinh(x) is then sign(x)*z.
49 // z = sinh(y) = sinh(y0)cosh(dy) + cosh(y0)sinh(dy)
50 // where sinh(y0) and cosh(y0) are tabulated above.
88 // so sinh(y) is approximated by sign(x)*exp(y)/2.
107 _CLC_OVERLOAD _CLC_DEF double sinh(double x)
113 // sinh(x) = sign(x)*Inf
116 // sinh(x) = sign(x)*exp(abs(x))/2 computed using the
121 // sinh(x) is then sign(x)*z.
[all …]
H A Dcosh.cl49 // z = sinh(y) = sinh(y0)cosh(dy) + cosh(y0)sinh(dy)
50 // z = cosh(y) = cosh(y0)cosh(dy) + sinh(y0)sinh(dy)
51 // where sinh(y0) and cosh(y0) are tabulated above.
132 // z = cosh(y) = cosh(y0)cosh(dy) + sinh(y0)sinh(dy)
133 // where sinh(y0) and cosh(y0) are tabulated above.
164 // At this point sinh(dy) is approximated by dy + sdy,
H A Dtanh.cl30 // The definition of tanh(x) is sinh(x)/cosh(x), which is also equivalent
83 // The definition of tanh(x) is sinh(x)/cosh(x), which is also equivalent
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h170 __DEVICE__ double sinh(double);
171 __DEVICE__ float sinh(float);
266 using ::sinh;
H A D__clang_cuda_cmath.h173 __DEVICE__ float sinh(float __x) { return ::sinhf(__x); } in sinh() function
295 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, sinh)
426 using ::sinh;
H A D__clang_hip_cmath.h249 __DEF_FUN1(float, sinh)
537 __HIP_OVERLOAD1(double, sinh)
714 using ::sinh;
826 return sinh(x) * y;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dtype-promotion-in-math-fn.cpp53 double sinh(double);
215 sinh(a); in check_all_fns()
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dsinh.h24 #define __CLC_FUNCTION sinh
/llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.transcendentals/
H A Dsinh.pass.cpp25 assert(sinh(c) == x); in test()
40 std::complex<double> r = sinh(testcases[i]); in test_edges()
H A Dsin.pass.cpp42 std::complex<double> t2 = sinh(t1); in test_edges()
/llvm-project-15.0.7/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
H A Dsinh_valarray.pass.cpp36 std::valarray<T> v3 = sinh(v1); in main()
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcmath146 double sinh(double);
147 float sinh(float);
223 using ::sinh;
H A Dmath.h160 double sinh(double __a);
/llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h265 __DEVICE__ std::complex<_Tp> sinh(const std::complex<_Tp> &__x) { in sinh() function
272 return std::complex<_Tp>(sinh(__x.real()) * cos(__x.imag()), in sinh()
289 sinh(__x.real()) * sin(__x.imag())); in cosh()
307 _Tp __2rsh(sinh(__2r)); in tanh()
368 std::complex<_Tp> __z = sinh(complex<_Tp>(-__x.imag(), __x.real())); in sin()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dwin-math.ll233 declare double @sinh(double %x)
237 ; MSVCXX: double @sinh
239 ; MSVC19: double @sinh
241 %2 = call double @sinh(double %1)
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/
H A Dmath-1.ll160 declare double @sinh(double) #0
165 %res = tail call fast double @sinh(double 1.0)
H A Dcalls.ll21 declare double @sinh(double) readnone nounwind willreturn
110 %15 = call double @sinh(double 3.000000e+00)
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dmath_h.pass.cpp52 Ambiguous sinh(Ambiguous){ return Ambiguous(); } in sinh() function
497 static_assert((std::is_same<decltype(sinh((float)0)), float>::value), ""); in test_sinh()
498 static_assert((std::is_same<decltype(sinh((bool)0)), double>::value), ""); in test_sinh()
500 static_assert((std::is_same<decltype(sinh((int)0)), double>::value), ""); in test_sinh()
501 static_assert((std::is_same<decltype(sinh((unsigned int)0)), double>::value), ""); in test_sinh()
502 static_assert((std::is_same<decltype(sinh((long)0)), double>::value), ""); in test_sinh()
503 static_assert((std::is_same<decltype(sinh((unsigned long)0)), double>::value), ""); in test_sinh()
504 static_assert((std::is_same<decltype(sinh((long long)0)), double>::value), ""); in test_sinh()
506 static_assert((std::is_same<decltype(sinh((double)0)), double>::value), ""); in test_sinh()
510 static_assert((std::is_same<decltype(sinh(Ambiguous())), Ambiguous>::value), ""); in test_sinh()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Util/
H A Dlibcalls-shrinkwrap-double.ll40 %call_4 = call double @sinh(double %value)
46 ; CHECK-NEXT: %call_4 = call double @sinh(double %value)
64 declare double @sinh(double)
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dlibcall-declarations.c163 double sinh(double);
294 F(sin), F(sinf), F(sinl), F(sinh), F(sinhf),
H A Dmath-libcalls.c480 sinh(f); sinhf(f); sinhl(f); in foo()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarFuncs.def105 TLI_DEFINE_SCALAR_MASS_FUNC("sinh", "__xl_sinh")
/llvm-project-15.0.7/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp53 Ambiguous sinh(Ambiguous){ return Ambiguous(); } in sinh() function
502 static_assert((std::is_same<decltype(std::sinh((float)0)), float>::value), ""); in test_sinh()
503 static_assert((std::is_same<decltype(std::sinh((bool)0)), double>::value), ""); in test_sinh()
505 static_assert((std::is_same<decltype(std::sinh((int)0)), double>::value), ""); in test_sinh()
506 static_assert((std::is_same<decltype(std::sinh((unsigned int)0)), double>::value), ""); in test_sinh()
507 static_assert((std::is_same<decltype(std::sinh((long)0)), double>::value), ""); in test_sinh()
508 static_assert((std::is_same<decltype(std::sinh((unsigned long)0)), double>::value), ""); in test_sinh()
509 static_assert((std::is_same<decltype(std::sinh((long long)0)), double>::value), ""); in test_sinh()
511 static_assert((std::is_same<decltype(std::sinh((double)0)), double>::value), ""); in test_sinh()
515 static_assert((std::is_same<decltype(sinh(Ambiguous())), Ambiguous>::value), ""); in test_sinh()
[all …]
/llvm-project-15.0.7/libclc/spirv/lib/
H A DSOURCES81 ../../generic/lib/math/sinh.cl
/llvm-project-15.0.7/libclc/spirv64/lib/
H A DSOURCES81 ../../generic/lib/math/sinh.cl

123