/third_party/skia/resources/sksl/intrinsics/ |
D | Cosh.sksl | 6 return (cosh(inputVal.x) == expected.x && 7 cosh(inputVal.xy) == expected.xy && 8 cosh(inputVal.xyz) == expected.xyz && 9 cosh(inputVal.xyzw) == expected.xyzw && 10 cosh(constVal.x) == expected.x && 11 cosh(constVal.xy) == expected.xy && 12 cosh(constVal.xyz) == expected.xyz && 13 cosh(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
|
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/ |
D | KaiserWindow.h | 69 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()
|
D | HyperbolicCosineWindow.h | 49 mInverseCoshAlpha = 1.0 / cosh(alpha); in setAlpha() 59 return cosh(w) * mInverseCoshAlpha; in operator()
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | math-cosh.js | 18 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/jerryscript/tests/unit-libm/ |
D | test-libm.inc.h | 771 check_double ("cosh (0.0)", cosh (0.0), 1.00000000000000000000E+00); 772 check_double ("cosh (-0.0)", cosh (-0.0), 1.00000000000000000000E+00); 773 check_double ("cosh (1.0)", cosh (1.0), 1.54308063481524371241E+00); 774 check_double ("cosh (-1.0)", cosh (-1.0), 1.54308063481524371241E+00); 775 check_double ("cosh (INFINITY)", cosh (INFINITY), INF); 776 check_double ("cosh (-INFINITY)", cosh (-INFINITY), INF); 777 check_double ("cosh (NAN)", cosh (NAN), NAN); 778 check_double ("cosh (M_PI)", cosh (M_PI), 1.15919532755215186626E+01); 779 check_double ("cosh (-M_PI)", cosh (-M_PI), 1.15919532755215186626E+01); 780 check_double ("cosh (2.0 * M_PI)", cosh (2.0 * M_PI), 2.67746761483748173305E+02); [all …]
|
/third_party/jerryscript/tools/unit-tests/ |
D | gen-test-libm.c | 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 (-M_PI)); in main() 981 GEN_DBL_TEST (cosh (2.0 * M_PI)); in main() [all …]
|
/third_party/skia/tests/sksl/intrinsics/ |
D | Cosh.glsl | 8 …return ((((((cosh(inputVal.x) == expected.x && cosh(inputVal.xy) == expected.xy) && cosh(inputVal.…
|
D | Cosh.metal | 18 …cosh(_uniforms.inputVal.x) == _uniforms.expected.x && all(cosh(_uniforms.inputVal.xy) == _uniforms…
|
/third_party/python/Lib/test/ |
D | cmath_testcases.txt | 1580 -- For exp, cosh, sinh, tanh we limit tests to arguments whose 1713 -- cosh: Hyperbolic Cosine -- 1717 cosh0000 cosh 0.0 0.0 -> 1.0 0.0 1718 cosh0001 cosh 0.0 -0.0 -> 1.0 -0.0 1719 cosh0002 cosh -0.0 0.0 -> 1.0 -0.0 1720 cosh0003 cosh -0.0 -0.0 -> 1.0 0.0 1723 cosh0004 cosh -0.85395264297414253 -8.8553756148671958 -> -1.1684340348021185 0.51842195359787435 1724 cosh0005 cosh -19.584904237211223 -0.066582627994906177 -> 159816812.23336992 10656776.050406246 1725 cosh0006 cosh -0.11072618401130772 -1.484820215073247 -> 0.086397164744949503 0.11054275637717284 1726 cosh0007 cosh -3.4764840250681752 -0.48440348288275276 -> 14.325931955190844 7.5242053548737955 [all …]
|
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/cosh/ |
D | c13756.wgsl.expected.glsl | 5 vec2 res = cosh(vec2(0.0f, 0.0f)); 35 vec2 res = cosh(vec2(0.0f, 0.0f)); 55 vec2 res = cosh(vec2(0.0f, 0.0f));
|
D | da92dd.wgsl.expected.glsl | 5 float res = cosh(1.0f); 35 float res = cosh(1.0f); 55 float res = cosh(1.0f);
|
D | e0c1de.wgsl.expected.glsl | 5 vec4 res = cosh(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 35 vec4 res = cosh(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 55 vec4 res = cosh(vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
D | 377652.wgsl.expected.glsl | 5 vec3 res = cosh(vec3(0.0f, 0.0f, 0.0f)); 35 vec3 res = cosh(vec3(0.0f, 0.0f, 0.0f)); 55 vec3 res = cosh(vec3(0.0f, 0.0f, 0.0f));
|
/third_party/boost/libs/math/doc/quaternion/ |
D | output.txt | 21 Testing cosh for float. 22 Testing cosh for double. 23 Testing cosh for long double.
|
/third_party/boost/libs/math/example/ |
D | double_exponential.cpp | 23 using std::cosh; 42 auto f2 = [](double t) { return cos(t)/cosh(t);}; in main() 44 Q_expected = pi<double>()/cosh(half_pi<double>()); in main()
|
/third_party/boost/boost/math/special_functions/ |
D | chebyshev.hpp | 37 using std::cosh; in chebyshev_imp() 55 return cosh(n*acosh(x)); in chebyshev_imp() 61 return -cosh(n*acosh(-x)); in chebyshev_imp() 65 return cosh(n*acosh(-x)); in chebyshev_imp()
|
/third_party/boost/boost/qvm/ |
D | math.hpp | 25 template <class T> T cosh( T ); 48 template <> BOOST_QVM_INLINE_TRIVIAL float cosh<float>( float x ) { return ::coshf(x); } in cosh() function 70 template <> BOOST_QVM_INLINE_TRIVIAL double cosh<double>( double x ) { return ::cosh(x); } in cosh() function 92 …template <> BOOST_QVM_INLINE_TRIVIAL long double cosh<long double>( long double x ) { return ::cos… in cosh() function
|
/third_party/boost/boost/math/quadrature/detail/ |
D | tanh_sinh_constants.hpp | 28 using std::cosh; in weight_at_t() 30 Real cs = cosh(constants::half_pi<Real>() * sinh(t)); in weight_at_t() 31 return constants::half_pi<Real>() * cosh(t) / (cs * cs); in weight_at_t() 36 using std::cosh; in abscissa_complement_at_t() 40 return 1 / (exp(u2) *cosh(u2)); in abscissa_complement_at_t()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | coshl.c | 6 return cosh(x); in coshl() 45 return cosh(x); in coshl()
|
/third_party/musl/src/math/ |
D | coshl.c | 6 return cosh(x); in coshl() 45 return cosh(x); in coshl()
|
/third_party/boost/libs/qvm/test/ |
D | math_test.cpp | 45 test1<float>(&boost::qvm::cosh<float>, &::coshf); in main() 66 test1<double>(&boost::qvm::cosh<double>, &::cosh); in main() 87 test1<long double>(&boost::qvm::cosh<long double>, &::coshl); in main()
|
/third_party/boost/libs/math/test/ |
D | atanh_test.hpp | 24 using ::std::cosh; in atanh_error_evaluator() 37 T relative_error = absolute_error/(cosh(x)*cosh(x)); in atanh_error_evaluator()
|
D | sinh_sinh_quadrature_test.cpp | 38 using std::cosh; 91 auto w = [](Real t) { return cosh(t)*half_pi<Real>()*cosh(half_pi<Real>()*sinh(t)); }; in generate_constants() 172 auto f5 = [](const Real& t)->Real { return 1/cosh(t);}; in test_nr_examples() 181 auto f8 = [](const Real& t)->Real { return cos(t)/cosh(t);}; in test_nr_examples() 183 Q_expected = pi<Real>()/cosh(half_pi<Real>()); in test_nr_examples()
|
/third_party/boost/libs/math/test/float128/ |
D | test_std_lib.cpp | 88 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(0.5)), BOOST_FLOAT128_C(1.127625965206380785… in BOOST_AUTO_TEST_CASE() 89 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(-0.5)), BOOST_FLOAT128_C(1.12762596520638078… in BOOST_AUTO_TEST_CASE() 90 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(1.5)), BOOST_FLOAT128_C(2.352409615243247325… in BOOST_AUTO_TEST_CASE() 91 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(-1.5)), BOOST_FLOAT128_C(2.35240961524324732… in BOOST_AUTO_TEST_CASE() 92 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(3.5)), BOOST_FLOAT128_C(16.57282467105731612… in BOOST_AUTO_TEST_CASE() 93 …BOOST_CHECK_CLOSE_FRACTION(std::cosh(BOOST_FLOAT128_C(-3.5)), BOOST_FLOAT128_C(16.5728246710573161… in BOOST_AUTO_TEST_CASE() 94 BOOST_CHECK_EQUAL(std::cosh(BOOST_FLOAT128_C(0.0)), 1.0); in BOOST_AUTO_TEST_CASE() 227 …BOOST_CHECK_CLOSE_FRACTION(real(cosh(cm)), BOOST_FLOATMAX_C(-5.74262349163405669737192926384726639… in BOOST_AUTO_TEST_CASE() 228 …BOOST_CHECK_CLOSE_FRACTION(imag(cosh(cm)), BOOST_FLOATMAX_C(-2.12231025604133800732386371402722087… in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/boost/numeric/interval/ |
D | rounded_transc.hpp | 36 BOOST_NUMERIC_INTERVAL_new_func(cosh) 67 BOOST_NUMERIC_INTERVAL_new_func(cosh) 98 BOOST_NUMERIC_INTERVAL_new_func(cosh)
|