Home
last modified time | relevance | path

Searched refs:cosf (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/
H A Dcosf.tst1 ; cosf.tst - Directed test cases for SP cosine
6 func=cosf op1=7fc00001 result=7fc00001 errno=0
7 func=cosf op1=ffc00001 result=7fc00001 errno=0
12 func=cosf op1=00000000 result=3f800000 errno=0
13 func=cosf op1=80000000 result=3f800000 errno=0
16 func=cosf op1=46427f1b result=3f34dc5c.565 error=0
17 func=cosf op1=4647e568 result=3f34dc33.c1f error=0
18 func=cosf op1=46428bac result=bf34dbf2.8e3 error=0
19 func=cosf op1=4647f1f9 result=bf34dbc9.f9b error=0
20 func=cosf op1=4647fe8a result=3f34db60.313 error=0
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dmathbench_funcs.h40 F (cosf, 0.1, 0.7)
41 F (cosf, 0.8, 3.1)
42 F (cosf, -3.1, 3.1)
43 F (cosf, 3.3, 33.3)
44 F (cosf, 100, 1000)
45 F (cosf, 1e6, 1e32)
H A Drunulp.sh121 t cosf 0 0xffff0000 10000
122 t cosf 0x1p-14 0x1p54 50000
123 t cosf -0x1p-14 -0x1p54 50000
275 cosf _ZGVnN4v_cosf
H A Dulp_wrappers.h11 static float sincosf_sinf(float x) {(void)cosf(x); return sinf(x);} in sincosf_sinf()
12 static float sincosf_cosf(float x) {(void)sinf(x); return cosf(x);} in sincosf_cosf()
/freebsd/lib/msun/src/
H A Ds_csinhf.c59 return (CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y))); in csinhf()
65 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf()
73 return (CMPLXF(h * cosf(y), h * h * sinf(y))); in csinhf()
89 return (CMPLXF(x * cosf(y), INFINITY * sinf(y))); in csinhf()
H A Ds_ccoshf.c59 return (CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y))); in ccoshf()
65 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf()
73 return (CMPLXF(h * h * cosf(y), h * sinf(y))); in ccoshf()
89 return (CMPLXF(INFINITY * cosf(y), x * sinf(y))); in ccoshf()
H A Ds_ctanhf.c57 copysignf(0, isinf(y) ? y : sinf(y) * cosf(y)))); in ctanhf()
66 4 * sinf(y) * cosf(y) * exp_mx * exp_mx)); in ctanhf()
H A Ds_cpowf.c69 w = CMPLXF(r * cosf (theta), r * sinf (theta)); in cpowf()
H A De_j1f.c60 z = cosf(y+y); in j1f()
117 z = cosf(x+x); in y1f()
H A Ds_cosf.c36 cosf(float x) in cosf() function
H A De_j0f.c59 z = -cosf(x+x); in j0f()
135 z = -cosf(x+x); in y0f()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_cos.c287 volatile float result = cosf(theta); in ATF_TC_BODY()
311 ATF_CHECK(isnan(cosf(x)) != 0); in ATF_TC_BODY()
324 if (isnan(cosf(x)) == 0) { in ATF_TC_BODY()
340 if (isnan(cosf(x)) == 0) { in ATF_TC_BODY()
357 ATF_CHECK(cosf(x) == 1.0); in ATF_TC_BODY()
370 ATF_CHECK(cosf(x) == 1.0); in ATF_TC_BODY()
/freebsd/lib/msun/tests/
H A Dtrig_test.c165 ATF_CHECK(cosf(f_pi_odd[i]) == -1.0); in ATF_TC_BODY()
169 ATF_CHECK(cosf(-f_pi_odd[i]) == -1.0); in ATF_TC_BODY()
173 ATF_CHECK(cosf(f_pi_odd[i] * 2) == 1.0); in ATF_TC_BODY()
177 ATF_CHECK(cosf(-f_pi_odd[i] * 2) == 1.0); in ATF_TC_BODY()
H A Dctrig_test.c332 copysign(0, cosf(nums[i]))), FLT_ULP()); in ATF_TC_BODY()
333 test_even_tol(ccosf, z, CMPLXL(cosf(nums[i]), in ATF_TC_BODY()
348 test_odd_tol(csinhf, z, CMPLXL(copysign(0, cosf(nums[i])), in ATF_TC_BODY()
350 test_even_tol(ccoshf, z, CMPLXL(cosf(nums[i]), in ATF_TC_BODY()
H A Dcexp_test.c224 CMPLXL(cosf(finites[i]), sinf(finites[i])), in ATF_TC_BODY()
227 CMPLXL(cosf(finites[i]), sinf(finites[i])), in ATF_TC_BODY()
/freebsd/contrib/arm-optimized-routines/math/test/testcases/random/
H A Dfloat.tst7 test cosf 10000
/freebsd/contrib/arm-optimized-routines/pl/math/
H A Dv_cexpif_1u8.c16 v_call_f32 (cosf, x, y.val[1], special) }; in special_case()
H A Dsv_cexpif_1u8.c16 sv_call_f32 (cosf, x, svget2 (y, 1), special)); in special_case()
H A Dsv_cosf_2u1.c32 return sv_call_f32 (cosf, x, y, oob); in special_case()
/freebsd/contrib/arm-optimized-routines/math/
H A Dcosf.c18 cosf (float y) in cosf() function
/freebsd/contrib/arm-optimized-routines/math/include/
H A Dmathlib.h17 float cosf (float);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVecFuncs.def54 TLI_DEFINE_VECFUNC("cosf", "vcosf", FIXED(4), "_ZGV_LLVM_N4v")
91 TLI_DEFINE_VECFUNC("cosf", "_simd_cos_f4", FIXED(4), "_ZGV_LLVM_N4v")
141 TLI_DEFINE_VECFUNC("cosf", "_ZGVbN4v_cosf", FIXED(4), "_ZGV_LLVM_N4v")
142 TLI_DEFINE_VECFUNC("cosf", "_ZGVdN8v_cosf", FIXED(8), "_ZGV_LLVM_N8v")
248 TLI_DEFINE_VECFUNC("cosf", "__cosf4", FIXED(4), "_ZGV_LLVM_N4v")
299 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf4", FIXED(4), "_ZGV_LLVM_N4v")
300 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf8", FIXED(8), "_ZGV_LLVM_N8v")
301 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf16", FIXED(16), "_ZGV_LLVM_N16v")
588 TLI_DEFINE_VECFUNC("cosf", "_ZGVnN4v_cosf", FIXED(4), "_ZGV_LLVM_N4v")
695 TLI_DEFINE_VECFUNC("cosf", "_ZGVsMxv_cosf", SCALABLE(4), MASKED, "_ZGVsMxv")
[all …]
H A DScalarFuncs.def52 TLI_DEFINE_SCALAR_MASS_FUNC("cosf", "__xl_cosf")
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A Dexplicit_symbols.inc80 INLINE_DEF_FLOAT_SYMBOL(cosf, 1)
/freebsd/contrib/arm-optimized-routines/math/aarch64/
H A Dv_cosf.c37 return v_call_f32 (cosf, x, y, cmp); in special_case()

12