Searched refs:cbrt (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dcbrt_2u.c2 * Double-precision cbrt(x) function.
12 PL_SIG (S, D, 1, cbrt, -10.0, 10.0)
20 /* Approximation for double-precision cbrt(x), using low-order polynomial and
25 cbrt(0x1.fffff403f0bc6p+1) got 0x1.965fe72821e9bp+0
28 cbrt (double x) function
42 /* Calculate rough approximation for cbrt(m) in [0.5, 1.0], starting point for
48 /* Two iterations of Newton's method for iteratively approximating cbrt. */
55 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
63 cbrt(
[all...]
H A Dv_cbrtf_1u7.c2 * Single-precision vector cbrt(x) function.
18 .poly = { /* Very rough approximation of cbrt(x) in [0.5, 1], generated with
46 /* Approximation for vector single-precision cbrt(x) using Newton iteration
52 VPCS_ATTR float32x4_t V_NAME_F1 (cbrt) (float32x4_t x) function
67 /* p is a rough approximation for cbrt(m) in [0.5, 1.0]. The better this is,
75 /* One iteration of Newton's method for iteratively approximating cbrt. */
82 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
93 cbrt(x) = cbrt(
[all...]
H A Dv_cbrt_2u.c2 * Double-precision vector cbrt(x) function.
40 return v_call_f64 (cbrt, x, y, vmovl_u32 (special));
43 /* Approximation for double-precision vector cbrt(x), using low-order polynomial
50 VPCS_ATTR float64x2_t V_NAME_D1 (cbrt) (float64x2_t x) function
67 /* Calculate rough approximation for cbrt(m) in [0.5, 1.0], starting point for
71 /* Two iterations of Newton's method for iteratively approximating cbrt. */
80 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
91 cbrt(x) = cbrt(
[all...]
H A Dsv_cbrtf_1u7.c2 * Single-precision SVE cbrt(x) function.
19 /* Very rough approximation of cbrt(x) in [0.5, 1], generated with FPMinimax.
46 /* Approximation for vector single-precision cbrt(x) using Newton iteration
52 svfloat32_t SV_NAME_F1 (cbrt) (svfloat32_t x, const svbool_t pg) function
70 /* p is a rough approximation for cbrt(m) in [0.5, 1.0]. The better this is,
76 /* One iteration of Newton's method for iteratively approximating cbrt. */
83 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
94 cbrt(x) = cbrt(
[all...]
H A Dsv_cbrt_2u.c2 * Double-precision SVE cbrt(x) function.
41 return sv_call_f64 (cbrt, x, y, special);
50 /* Approximation for double-precision vector cbrt(x), using low-order
57 svfloat64_t SV_NAME_D1 (cbrt) (svfloat64_t x, const svbool_t pg) function
76 /* Calculate rough approximation for cbrt(m) in [0.5, 1.0], starting point
81 /* Two iterations of Newton's method for iteratively approximating cbrt. */
89 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
100 cbrt(x) = cbrt(
[all...]
H A Dcbrtf_1u5.c2 * Single-precision cbrt(x) function.
19 /* Approximation for single-precision cbrt(x), using low-order polynomial and
40 /* p is a rough approximation for cbrt(m) in [0.5, 1.0]. The better this is,
45 /* One iteration of Newton's method for iteratively approximating cbrt. */
51 cbrt(x) = cbrt(m) * 2 ^ (e / 3).
59 cbrt(x) = cbrt(m) * t * 2 ^ round(e / 3) * sign.
64 PL_SIG (S, F, 1, cbrt, -10.0, 10.0)
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Droots.h40 // cbrt
42 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI float cbrt(float __x) _NOEXCEPT { return __builtin_cbrtf(__x); }
45 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI double cbrt(double __x) _NOEXCEPT {
49 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI long double cbrt(long double __x) _NOEXCEPT {
54 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI double cbrt(_A1 __x) _NOEXCEPT {
/freebsd-current/lib/msun/src/
H A Ds_cbrt.c18 /* cbrt(x)
25 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */
34 cbrt(double x) function
48 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
51 * Rough cbrt to 5 bits:
52 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3)
67 return(x); /* cbrt(0) is itself */
76 * New cbrt to 23 bits:
77 * cbrt(x) = t*cbrt(
[all...]
H A Dmath.h275 double cbrt(double);
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_cbrt.c40 * cbrt(3)
45 atf_tc_set_md_var(tc, "descr", "Test cbrt(NaN) == NaN");
53 ATF_CHECK(isnan(cbrt(x)) != 0);
59 atf_tc_set_md_var(tc, "descr", "Test cbrt(3) vs. pow(3)");
65 /* Neither cbrt nor pow is required to be correctly rounded. */
70 double x_cbrt = cbrt(x[i]);
81 atf_tc_fail_nonfatal("cbrt(%.17g) = %.17g != "
91 atf_tc_set_md_var(tc, "descr", "Test cbrt(-Inf) == -Inf");
97 double y = cbrt(x);
106 atf_tc_set_md_var(tc, "descr", "Test cbrt(
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h45 __DEVICE__ double cbrt(double);
46 __DEVICE__ float cbrt(float);
208 using ::cbrt;
H A D__clang_cuda_cmath.h248 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, cbrt)
375 using ::cbrt;
H A Dtgmath.h569 // cbrt
577 __tg_cbrt(double __x) {return cbrt(__x);}
583 #undef cbrt macro
584 #define cbrt(__x) __tg_cbrt(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h212 __DEF_FUN1(float, cbrt)
488 __HIP_OVERLOAD1(double, cbrt)
658 using ::cbrt;
H A D__clang_cuda_math.h72 __DEVICE__ double cbrt(double __a) { return __nv_cbrt(__a); } function
H A D__clang_hip_math.h751 double cbrt(double __x) { return __ocml_cbrt_f64(__x); } function
H A Dopencl-c.h6727 float __ovld __cnfn cbrt(float);
6728 float2 __ovld __cnfn cbrt(float2);
6729 float3 __ovld __cnfn cbrt(float3);
6730 float4 __ovld __cnfn cbrt(float4);
6731 float8 __ovld __cnfn cbrt(float8);
6732 float16 __ovld __cnfn cbrt(float16);
6734 double __ovld __cnfn cbrt(double);
6735 double2 __ovld __cnfn cbrt(double2);
6736 double3 __ovld __cnfn cbrt(double3);
6737 double4 __ovld __cnfn cbrt(double
[all...]
/freebsd-current/include/
H A Dtgmath.h164 #define cbrt(x) __tg_simple(x, cbrt) macro
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcmath.inc122 using ::cbrt;
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h164 floating_point cbrt (arithmetic x);
451 using std::__math::cbrt;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c103 TGMACRO_REAL(cbrt)
479 PRINT("cbrt",
480 PASS_REAL_ARG_REAL_RET(cbrt));
/freebsd-current/contrib/arm-optimized-routines/pl/math/include/
H A Dmathlib.h40 double cbrt (double);
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc123 using std::cbrt;
/freebsd-current/lib/msun/
H A DMakefile267 MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3 sqrt.3 sqrtf.3 \
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathtest.c262 TFUNC(at_d,rt_d, cbrt, 2*ULPUNIT),

Completed in 340 milliseconds

12