Searched refs:sqrt (Results 1 – 12 of 12) sorted by relevance
/qemu/tests/qtest/ |
H A D | npcm7xx_rng-test.c | 110 s_obs = abs(sn) / sqrt(len * BITS_PER_BYTE); in calc_monobit_p() 112 return erfc(s_obs / sqrt(2)); in calc_monobit_p() 142 / (2 * sqrt(2 * nr_bits) * pi * (1.0 - pi))); in calc_runs_p()
|
/qemu/fpu/ |
H A D | softfloat-parts.c.inc | 693 * https://git.musl-libc.org/cgit/musl/tree/src/math/sqrt.c 697 static void partsN(sqrt)(FloatPartsN *a, float_status *status, 746 * Approximate r ~= 1/sqrt(m) and s ~= sqrt(m) when m in [1, 4). 751 * The relative error (e = r0*sqrt(m)-1) of a linear estimate 769 /* |r*sqrt(m) - 1| < 0x1.FDp-9 */ 779 /* |r*sqrt(m) - 1| < 0x1.7Bp-16 */ 790 /* s < sqrt(m) < s + 0x1.08p-23 */ 832 /* |r*sqrt(m) - 1| < 0x1.7Bp-16; convert to 64-bit arithmetic */ 839 /* |r*sqrt(m) - 1| < 0x1.a5p-31 */ 852 /* -0x1p-116 < s - sqrt(m) < 0x3.8001p-125 */ [all …]
|
H A D | softfloat.c | 822 PARTS_GENERIC_64_128(sqrt, A)(A, S, F) 4665 ur.h = sqrt(ua.h); in float64_sqrt()
|
/qemu/tests/fp/ |
H A D | fp-bench.c | 303 res.d = sqrt(a); in bench() 460 GEN_BENCH_ALL_TYPES_NO_NEG(sqrt, OP_SQRT, 1) 481 GEN_BENCH_FUNCS(sqrt, OP_SQRT),
|
H A D | meson.build | 100 'sqrt': 'ops'
|
/qemu/target/arm/ |
H A D | vfp_helper.c | 284 dh_ctype_f16 VFP_HELPER(sqrt, h)(dh_ctype_f16 a, CPUARMState *env) in VFP_BINOP() 289 float32 VFP_HELPER(sqrt, s)(float32 a, CPUARMState *env) in VFP_HELPER() argument 294 float64 VFP_HELPER(sqrt, d)(float64 a, CPUARMState *env) in VFP_HELPER() argument
|
/qemu/target/mips/ |
H A D | helper.h | 94 FOP_PROTO(sqrt)
|
/qemu/target/i386/tcg/ |
H A D | ops_sse_header.h.inc | 128 SSE_HELPER_S3(sqrt)
|
H A D | emit.c.inc | 537 UNARY_FP_SSE(VSQRT, sqrt)
|
/qemu/target/s390x/tcg/ |
H A D | vec_fpu_helper.c | 257 DEF_GVEC_VOP2(vfsq, sqrt)
|
/qemu/tests/tcg/i386/ |
H A D | test-i386.c | 777 printf("a=%f sqrt(a)=%f\n", a, sqrt(a)); in test_fops()
|
/qemu/target/mips/tcg/ |
H A D | msa_helper.c | 7778 MSA_FLOAT_UNOP(pwx->w[i], sqrt, pws->w[i], 32); in helper_msa_fsqrt_df() 7783 MSA_FLOAT_UNOP(pwx->d[i], sqrt, pws->d[i], 64); in helper_msa_fsqrt_df()
|