Searched refs:pow (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-current/libexec/rtld-elf/tests/libpythagoras/
H A Dpythagoras.c39 return (sqrt(pow(a, 2) + pow(b, 2)));
/freebsd-current/contrib/arm-optimized-routines/math/aarch64/
H A Dv_pow.c2 * Double-precision vector pow function.
11 float64x2_t VPCS_ATTR V_NAME_D2 (pow) (float64x2_t x, float64x2_t y) function
18 double sz = pow (sx, sy);
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathbench_wrappers.h27 return pow (x, x);
39 return pow (x, 23.4);
51 return pow (2.34, x);
H A Drunulp.sh59 t pow 0.5 2.0 x 0 inf 20000
60 t pow -0.5 -2.0 x 0 inf 20000
61 t pow 0.5 2.0 x -0 -inf 20000
62 t pow -0.5 -2.0 x -0 -inf 20000
63 t pow 0.5 2.0 x 0x1p-10 0x1p10 40000
64 t pow 0.5 2.0 x -0x1p-10 -0x1p10 40000
65 t pow 0 inf x 0.5 2.0 80000
66 t pow 0 inf x -0.5 -2.0 80000
67 t pow 0x1.fp-1 0x1.08p0 x 0x1p8 0x1p17 80000
68 t pow
[all...]
H A Dulp_funcs.h16 F2 (pow)
23 D2 (pow)
33 F (_ZGVnN4vv_powf, Z_powf, pow, mpfr_pow, 2, 1, f2, 1)
/freebsd-current/contrib/bc/scripts/
H A Dsqrt_random.bc44 pow = 4
53 pow += 4
57 limit = 2^pow
/freebsd-current/contrib/netbsd-tests/lib/libm/
H A Dt_pow.c38 * pow(3)
43 atf_tc_set_md_var(tc, "descr", "Test pow(NaN, y) == NaN");
50 ATF_CHECK(isnan(pow(x, 2.0)) != 0);
56 atf_tc_set_md_var(tc, "descr", "Test pow(x, NaN) == NaN");
63 ATF_CHECK(isnan(pow(2.0, y)) != 0);
69 atf_tc_set_md_var(tc, "descr", "Test pow(-Inf, y) == +-Inf || +-0.0");
81 z = pow(x, 3.0);
84 atf_tc_fail_nonfatal("pow(-Inf, 3.0) != -Inf");
86 z = pow(x, 4.0);
89 atf_tc_fail_nonfatal("pow(
[all...]
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dv_pow_1u5.c2 * Double-precision vector pow function.
52 /* This version implements an algorithm close to AOR scalar pow but
56 - and pow's exp polynomial order and table bits might differ.
161 float64x2_t VPCS_ATTR V_NAME_D2 (pow) (float64x2_t x, float64x2_t y) function
165 fallback to scalar pow for all lanes if any x < 0 detected. */
225 PL_SIG (V, D, 2, pow)
226 PL_TEST_ULP (V_NAME_D2 (pow), 0.55)
227 PL_TEST_EXPECT_FENV (V_NAME_D2 (pow), WANT_SIMD_EXCEPT)
230 PL_TEST_INTERVAL2 (V_NAME_D2 (pow), xlo, xhi, ylo, yhi, n) \
231 PL_TEST_INTERVAL2 (V_NAME_D2 (pow), xl
[all...]
H A Dsv_powf_2u6.c12 /* The following data is used in the SVE pow core computation
21 /* Overall ULP error bound for pow is 2.6 ulp
251 SV_NAME_F2 (pow) (0x1.004118p+0, 0x1.5d14a4p+16) got 0x1.fd4bp+127
253 svfloat32_t SV_NAME_F2 (pow) (svfloat32_t x, svfloat32_t y, const svbool_t pg) function
326 PL_SIG (SV, F, 2, pow)
327 PL_TEST_ULP (SV_NAME_F2 (pow), 2.06)
330 PL_TEST_INTERVAL2 (SV_NAME_F2 (pow), xlo, xhi, ylo, yhi, n) \
331 PL_TEST_INTERVAL2 (SV_NAME_F2 (pow), xlo, xhi, -ylo, -yhi, n) \
332 PL_TEST_INTERVAL2 (SV_NAME_F2 (pow), -xlo, -xhi, ylo, yhi, n) \
333 PL_TEST_INTERVAL2 (SV_NAME_F2 (pow),
[all...]
H A Dsv_pow_1u5.c2 * Double-precision SVE pow(x, y) function.
12 /* This version share a similar algorithm as AOR scalar pow.
14 The core computation consists in computing pow(x, y) as
30 SV_NAME_D2 (pow) (0x1.3d2d45bc848acp+63, -0x1.a48a38b40cd43p-12)
48 /* Constants associated with pow. */
143 /* Scalar fallback for special cases of SVE pow's exp. */
333 svfloat64_t SV_NAME_D2 (pow) (svfloat64_t x, svfloat64_t y, const svbool_t pg) function
404 PL_SIG (SV, D, 2, pow)
405 PL_TEST_ULP (SV_NAME_D2 (pow), 0.55)
408 PL_TEST_INTERVAL2 (SV_NAME_D2 (pow), xl
[all...]
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dbit.inc19 // [bit.pow.two], integral powers of 2
H A Dcomplex.inc54 using std::pow;
H A Dvalarray.inc58 using std::pow;
/freebsd-current/sys/netinet/cc/
H A Dcc_cubic.h156 return (pow((wmax_pkts * 0.3) / C, (1.0 / 3.0)) * pow(2, CUBIC_SHIFT));
168 (C * pow(ticks_since_epoch / (double)hz -
169 theoretical_cubic_k(wmax_pkts) / pow(2, CUBIC_SHIFT), 3.0))));
/freebsd-current/lib/msun/src/
H A Ds_cpow.c64 r = pow (absa, x);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h147 __DEVICE__ double pow(double, double);
148 __DEVICE__ double pow(double, int);
149 __DEVICE__ float pow(float, float);
150 __DEVICE__ float pow(float, int);
257 using ::pow;
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dexponential_functions.h147 // pow
149 inline _LIBCPP_HIDE_FROM_ABI float pow(float __x, float __y) _NOEXCEPT { return __builtin_powf(__x, __y); }
152 _LIBCPP_HIDE_FROM_ABI double pow(double __x, double __y) _NOEXCEPT {
156 inline _LIBCPP_HIDE_FROM_ABI long double pow(long double __x, long double __y) _NOEXCEPT {
161 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type pow(_A1 __x, _A2 __y) _NOEXCEPT {
164 return __math::pow((__result_type)__x, (__result_type)__y);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h448 // pow builtins
452 half pow(half, half);
454 half2 pow(half2, half2);
456 half3 pow(half3, half3);
458 half4 pow(half4, half4);
462 float pow(float, float);
464 float2 pow(float2, float2);
466 float3 pow(float3, float3);
468 float4 pow(float4, float4);
471 double pow(doubl
[all...]
/freebsd-current/usr.bin/m4/
H A Dparser.y47 | expr EXPONENT expr { $$ = pow($1, $3); }
/freebsd-current/contrib/arm-optimized-routines/math/include/
H A Dmathlib.h25 double pow (double, double);
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c108 * The pow number is protected by the queue lock. The master batch ID
383 wip_add_work(wip_t *slot, tdata_t *pow) argument
386 slot->wip_td = pow;
390 (void *)pow, (void *)slot->wip_td);
392 merge_into_master(pow, slot->wip_td, NULL, 0);
393 tdata_free(pow);
403 tdata_t *pow; local
423 pow = fifo_remove(wq->wq_queue);
427 assert(pow != NULL);
437 wip_add_work(wipslot, pow);
[all...]
/freebsd-current/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk66 function pow(x, y) function
91 A = pow(10, gain / 40.0);
93 A = sqrt(pow(10, gain / 20.0));
245 attn = pow(2.0, bit) / pow(2.0, 32.0);
/freebsd-current/contrib/bc/src/
H A Dnum.c547 size_t pow; local
551 pow = n->scale % BC_BASE_DIGS;
552 pow = pow ? BC_BASE_DIGS - pow : 0;
553 pow = bc_num_pow10[pow];
563 if (BC_NUM_NONZERO(n)) n->num[0] -= n->num[0] % (BcDig) pow;
736 BcBigDig carry = 0, pow; local
742 pow
1624 size_t pow; local
2452 BcBigDig exp, pow; local
2724 size_t exp, pow; local
2942 bc_num_printFixup(BcNum* restrict n, BcBigDig rem, BcBigDig pow, size_t idx) argument
3009 bc_num_printPrepare(BcNum* restrict n, BcBigDig rem, BcBigDig pow) argument
4091 size_t pow, len, rdx, req, resscale, realscale; local
[all...]
/freebsd-current/tools/tools/ath/ath_ee_9287_print/
H A D9287.c263 uint8_t pow, flag; local
268 pow = ctl->ctlEdges[i][j].tPowerFlag & 0x3f;
270 printf(" %d:pow=%d,flag=%.2x", j, pow, flag);
/freebsd-current/tools/tools/ath/ath_ee_v4k_print/
H A Dv4k.c245 uint8_t pow, flag; local
250 pow = ctl->ctlEdges[i][j].tPowerFlag & 0x3f;
252 printf(" %d:pow=%d,flag=%.2x", j, pow, flag);

Completed in 309 milliseconds

1234