Home
last modified time | relevance | path

Searched refs:cosh (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
H A DKaiserWindow.h69 double y = cosh(0.970941817426052 * x); in bessel()
70 y += cosh(0.8854560256532099 * x); in bessel()
71 y += cosh(0.7485107481711011 * x); in bessel()
72 y += cosh(0.5680647467311558 * x); in bessel()
73 y += cosh(0.3546048870425356 * x); in bessel()
74 y += cosh(0.120536680255323 * x); in bessel()
76 y += cosh(x); in bessel()
H A DHyperbolicCosineWindow.h49 mInverseCoshAlpha = 1.0 / cosh(alpha); in setAlpha()
59 return cosh(w) * mInverseCoshAlpha; in operator ()()
/third_party/jerryscript/tools/unit-tests/
H A Dgen-test-libm.c971 /* cosh tests */ in main()
972 GEN_DBL_TEST (cosh (0.0)); in main()
973 GEN_DBL_TEST (cosh (-0.0)); in main()
974 GEN_DBL_TEST (cosh (1.0)); in main()
975 GEN_DBL_TEST (cosh (-1.0)); in main()
976 GEN_DBL_TEST (cosh (INFINITY)); in main()
977 GEN_DBL_TEST (cosh (-INFINITY)); in main()
978 GEN_DBL_TEST (cosh (NAN)); in main()
979 GEN_DBL_TEST (cosh (M_PI)); in main()
980 GEN_DBL_TEST (cosh ( in main()
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dmath-cosh.js18 assert(isNaN(Math.cosh(NaN)));
19 assert(Math.cosh(p_zero) === 1);
20 assert(Math.cosh(n_zero) === 1);
21 assert(Math.cosh(Number.POSITIVE_INFINITY) === Number.POSITIVE_INFINITY);
22 assert(Math.cosh(Number.NEGATIVE_INFINITY) === Number.POSITIVE_INFINITY);
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dcoshl.c6 return cosh(x); in coshl()
45 return cosh(x); in coshl()
H A Dcosh.c3 /* cosh(x) = (exp(x) + 1/exp(x))/2
7 double cosh(double x) in cosh() function
/third_party/musl/src/math/
H A Dcoshl.c6 return cosh(x); in coshl()
45 return cosh(x); in coshl()
H A Dcosh.c3 /* cosh(x) = (exp(x) + 1/exp(x))/2
7 double cosh(double x) in cosh() function
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_cosh_test.cpp17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the cosh interface.
24 bool testResult = DoubleUlpCmp(g_coshData[i].expected, cosh(g_coshData[i].input), 2); in HWTEST_F()
31 * @tc.desc: When the parameter of cosh is valid, test the return value of the function.
36 EXPECT_DOUBLE_EQ(1.0, cosh(0.0)); in HWTEST_F()
/third_party/musl/src/complex/
H A Dccosh.c30 * cosh(z) = cosh(x+iy)
31 * = cosh(x) cos(y) + i sinh(x) sin(y).
58 return CMPLX(cosh(x), x * y); in ccosh()
60 return CMPLX(cosh(x) * cos(y), sinh(x) * sin(y)); in ccosh()
62 /* |x| >= 22, so cosh(x) ~= exp(|x|) */ in ccosh()
79 * cosh(+-0 +- I Inf) = dNaN + I sign(d(+-0, dNaN))0. in ccosh()
83 * cosh(+-0 +- I NaN) = d(NaN) + I sign(d(+-0, NaN))0. in ccosh()
91 * cosh(+-Inf +- I 0) = +Inf + I (+-)(+-)0. in ccosh()
93 * cosh(Na in ccosh()
[all...]
H A Dcsinh.c31 * = sinh(x) cos(y) + i cosh(x) sin(y).
60 return CMPLX(sinh(x) * cos(y), cosh(x) * sin(y)); in csinh()
62 /* |x| >= 22, so cosh(x) ~= exp(|x|) */ in csinh()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c76 #ifdef cosh in f()
77 {double r = cosh(x);} in f()
79 #error no cosh(x) in f()
/third_party/ltp/testcases/misc/math/float/
H A Dfloat_iperb.c29 {FUNC_NORMAL, 50, cosh, "cosh", "dcosh", "rcosh",
/third_party/ltp/testcases/misc/math/float/iperb/
H A DMakefile27 CLEAN_TARGETS := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan [rd]*tan2 \
H A Dgencosh.c52 tabR[i] = cosh((Inc * i) + Inc); in create_Result_file()
/third_party/ltp/testcases/misc/math/float/trigo/
H A DMakefile27 CLEAN_TARGETS := [rd]*sin [rd]sinh [rd]*cos [rd]cosh [rd]*tan [rd]*tan2 \
/third_party/typescript/tests/baselines/reference/
H A DdoYouNeedToChangeYourTargetLibraryES2015.js47 const testMathCosh = Math.cosh(0);
145 var testMathCosh = Math.cosh(0);
/third_party/jerryscript/jerry-libm/include/
H A Dmath.h60 double cosh (double x);
/third_party/jerryscript/jerry-libm/
H A Dcosh.c30 /* cosh(x)
32 * mathematically cosh(x) if defined to be (exp(x) + exp(-x)) / 2
33 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
36 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
40 * ln2/2 <= x <= 22 : cosh(x) := -------------------
43 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
44 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
45 * ln2ovft < x : cosh(x) := huge * huge (overflow)
48 * cosh(
57 cosh (double x) cosh() function
[all...]
H A Djerry-libm-internal.h91 double cosh (double x);
/third_party/node/deps/v8/src/base/
H A Dieee754.h78 V8_BASE_EXPORT double cosh(double x);
/third_party/musl/libc-test/src/math/
H A Dcosh.c6 #include "crlibm/cosh.h"
7 #include "ucb/cosh.h"
8 #include "sanity/cosh.h"
9 #include "special/cosh.h"
28 y = cosh(p->x); in main()
32 printf("%s:%d: bad fp exception: %s cosh(%a)=%a, want %s", in main()
39 printf("%s:%d: %s cosh(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h160 #undef cosh macro
223 #define cosh(x) __tg_real_complex(cosh, (x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h160 #undef cosh macro
223 #define cosh(x) __tg_real_complex(cosh, (x)) macro
/third_party/musl/include/
H A Dtgmath.h160 #undef cosh macro
223 #define cosh(x) __tg_real_complex(cosh, (x)) macro

Completed in 9 milliseconds

1234