/freebsd-current/contrib/arm-optimized-routines/pl/math/ |
H A D | sv_log2_3u.c | 2 * Double-precision SVE log2 function. 22 return sv_call_f64 (log2, x, y, cmp); 25 /* Double-precision SVE log2 routine. 29 SV_NAME_D1 (log2)(0x1.0b556b093869bp+0) got 0x1.fffb34198d9dap-5 31 svfloat64_t SV_NAME_D1 (log2) (svfloat64_t x, const svbool_t pg) function 50 /* log2(x) = log1p(z/c-1)/log(2) + log2(c) + k. */ 65 PL_SIG (SV, D, 1, log2, 0.01, 11.1) 66 PL_TEST_ULP (SV_NAME_D1 (log2), 2.09) 67 PL_TEST_EXPECT_FENV_ALWAYS (SV_NAME_D1 (log2)) [all...] |
H A D | v_log2f_2u5.c | 2 * Single-precision vector log2 function. 21 log2(1+r)/r for r in [ -1/3, 1/3 ]. 41 /* Fast implementation for single precision AdvSIMD log2, 46 float32x4_t VPCS_ATTR V_NAME_F1 (log2) (float32x4_t x) function 60 /* y = log2(1+r) + n. */ 69 PL_SIG (V, F, 1, log2, 0.01, 11.1) 70 PL_TEST_ULP (V_NAME_F1 (log2), 1.99) 71 PL_TEST_EXPECT_FENV_ALWAYS (V_NAME_F1 (log2)) 72 PL_TEST_INTERVAL (V_NAME_F1 (log2), -0.0, -0x1p126, 100) 73 PL_TEST_INTERVAL (V_NAME_F1 (log2), [all...] |
H A D | v_log2_3u.c | 2 * Double-precision vector log2 function. 24 and N = 128, then scaled by log2(e) in extended precision and rounded back 61 return v_call_f64 (log2, x, vfmaq_f64 (w, r2, y), vmovl_u32 (special)); 64 /* Double-precision vector log2 routine. Implements the same algorithm as 69 float64x2_t VPCS_ATTR V_NAME_D1 (log2) (float64x2_t x) function 86 /* log2(x) = log1p(z/c-1)/log(2) + log2(c) + k. */ 101 PL_SIG (V, D, 1, log2, 0.01, 11.1) 102 PL_TEST_ULP (V_NAME_D1 (log2), 2.09) 103 PL_TEST_EXPECT_FENV_ALWAYS (V_NAME_D1 (log2)) [all...] |
H A D | sv_log2f_2u5.c | 2 * Single-precision vector/SVE log2 function. 42 SV_NAME_F1 (log2)(0x1.558174p+0) got 0x1.a9be84p-2 44 svfloat32_t SV_NAME_F1 (log2) (svfloat32_t x, const svbool_t pg) function 59 /* y = log2(1+r) + n. */ 78 PL_SIG (SV, F, 1, log2, 0.01, 11.1) 79 PL_TEST_ULP (SV_NAME_F1 (log2), 1.99) 80 PL_TEST_EXPECT_FENV_ALWAYS (SV_NAME_F1 (log2)) 81 PL_TEST_INTERVAL (SV_NAME_F1 (log2), -0.0, -0x1p126, 4000) 82 PL_TEST_INTERVAL (SV_NAME_F1 (log2), 0.0, 0x1p-126, 4000) 83 PL_TEST_INTERVAL (SV_NAME_F1 (log2), [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | HeatUtils.cpp | 66 double percent = (freq > 0) ? log2(double(freq)) / log2(maxFreq) : 0;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | fsck5.sh | 39 log2=/tmp/fsck5.sh.2.log 59 ) > $log2 2>&1 67 { cat $log2 $log1 sha256.out sha256-2.out; s=1; } 71 rm -f $log1 $log2
|
H A D | zfs13.sh | 46 log2=/tmp/zfs13.sh.2.log 69 ls -ls | grep output | tee $log2 78 cmp -s $log1 $log2 80 rm -f /tmp/lsholes $log1 $log2
|
/freebsd-current/contrib/llvm-project/libcxx/include/__math/ |
H A D | logarithms.h | 88 // log2 90 inline _LIBCPP_HIDE_FROM_ABI float log2(float __x) _NOEXCEPT { return __builtin_log2f(__x); } 93 _LIBCPP_HIDE_FROM_ABI double log2(double __x) _NOEXCEPT { 97 inline _LIBCPP_HIDE_FROM_ABI long double log2(long double __x) _NOEXCEPT { return __builtin_log2l(__x); } 100 inline _LIBCPP_HIDE_FROM_ABI double log2(_A1 __x) _NOEXCEPT {
|
/freebsd-current/lib/msun/src/ |
H A D | e_log2.c | 19 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k 38 log2(double x) function 112 __weak_reference(log2, log2l);
|
/freebsd-current/contrib/arm-optimized-routines/math/test/ |
H A D | mathbench_funcs.h | 14 D (log2, 0.01, 11.1) 15 D (log2, 0.999, 1.001)
|
H A D | ulp_funcs.h | 15 F1 (log2) 22 D1 (log2)
|
H A D | runulp.sh | 54 t log2 0 0xffff000000000000 10000 55 t log2 0x1p-4 0x1p4 40000 56 t log2 0 inf 40000
|
/freebsd-current/contrib/arm-optimized-routines/math/ |
H A D | log2.c | 2 * Double-precision log2(x) function. 30 log2 (double x) function 101 /* log2(x) = log2(z/c) + log2(c) + k. */ 118 /* hi + lo = r/ln2 + log2(c) + k. */ 123 /* log2(r+1) = r/ln2 + r^2*poly(r). */ 136 strong_alias (log2, __log2_finite) 137 hidden_alias (log2, __ieee754_log2) 139 long double log2l (long double x) { return log2 ( [all...] |
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | average.h | 37 #include <linux/log2.h>
|
H A D | hashtable.h | 37 #include <linux/log2.h>
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/hlsl/ |
H A D | hlsl_intrinsics.h | 244 // log2 builtins 248 half log2(half); 250 half2 log2(half2); 252 half3 log2(half3); 254 half4 log2(half4); 258 float log2(float); 260 float2 log2(float2); 262 float3 log2(float3); 264 float4 log2(float4); 267 double log2(doubl [all...] |
/freebsd-current/contrib/arm-optimized-routines/math/include/ |
H A D | mathlib.h | 24 double log2 (double);
|
/freebsd-current/contrib/llvm-project/libcxx/include/__random/ |
H A D | generate_canonical.h | 13 #include <__random/log2.h>
|
/freebsd-current/lib/msun/tests/ |
H A D | logarithm_test.c | 77 test(log2, x, result, exceptmask, excepts); \ 127 * We should insist that log2() return exactly the correct 136 ATF_CHECK_EQ(i, log2(ldexp(1.0, i))); 160 test(log2, 1.0, 0.0, ALL_STD_EXCEPT, 0); 224 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP());
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 128 __DEVICE__ double log2(double); 129 __DEVICE__ float log2(float); 247 using ::log2;
|
/freebsd-current/sys/amd64/vmm/ |
H A D | x86.c | 64 * Round up to the next power of two, if necessary, and then take log2. 68 log2(u_int x) function 153 width = MIN(0xF, log2(threads * cores)); 287 (vcpu_id >> log2(threads + 1)); 488 width = log2(logical_cpus); 495 width = log2(logical_cpus);
|
/freebsd-current/contrib/netbsd-tests/lib/libm/ |
H A D | t_log.c | 414 * log2(3) 419 atf_tc_set_md_var(tc, "descr", "Test log2(2) == 1"); 424 ATF_CHECK(log2(2.0) == 1.0); 430 atf_tc_set_md_var(tc, "descr", "Test log2(NaN) == NaN"); 438 ATF_CHECK(isnan(log2(x)) != 0); 444 atf_tc_set_md_var(tc, "descr", "Test log2(-Inf) == NaN"); 450 const double y = log2(x); 458 atf_tc_set_md_var(tc, "descr", "Test log2(+Inf) == +Inf"); 465 ATF_CHECK(log2(x) == x); 471 atf_tc_set_md_var(tc, "descr", "Test log2(1. [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | BalancedPartitioning.cpp | 72 // Pre-computing log2 values 75 Log2Cache[I] = std::log2(I); 331 return (i < LOG_CACHE_SIZE) ? Log2Cache[i] : std::log2(i);
|
/freebsd-current/include/ |
H A D | tgmath.h | 186 #define log2(x) __tg_simple(x, log2) macro
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/ |
H A D | cmath.inc | 102 using ::log2;
|