Home
last modified time | relevance | path

Searched refs:PREC (Results 1 – 25 of 81) sorted by relevance

1234

/netbsd-src/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-trunc.c47 ASSERT_ALWAYS (PREC(got) == PREC(trunc)); in check_one()
48 ASSERT_ALWAYS (PREC(got) == PREC(ceil)); in check_one()
49 ASSERT_ALWAYS (PREC(got) == PREC(floor)); in check_one()
81 if (mpf_size (src) <= PREC(trunc)+1) in check_one()
167 n = PREC(trunc)+1; in check_various()
168 ASSERT_ALWAYS (n <= PREC(src)+1); in check_various()
179 n = PREC(trunc)+1; in check_various()
180 ASSERT_ALWAYS (n <= PREC(src)+1); in check_various()
194 n = PREC(trunc)+3; in check_various()
195 ASSERT_ALWAYS (n <= PREC(src)+1); in check_various()
[all …]
H A Dt-div.c63 mpf_random2 (u, PREC(u), (mp_exp_t) 20); in check_rand()
72 mpf_random2 (v, PREC(v), (mp_exp_t) 20); in check_rand()
123 PREC(got) = input_prec; in check_reuse_three()
130 PREC(got) = result_prec; in check_reuse_three()
137 PREC(got) = set_prec; in check_reuse_three()
H A Dt-eq.c74 PREC(x) = numberof (data[i].x.d); in check_data()
80 PREC(y) = numberof (data[i].y.d); in check_data()
165 mp_size_t max = PREC(x) - SIZ(x); in insert_random_low_zero_limbs()
H A Dt-sub.c175 PREC(x) = numberof (data[i].x.d); in check_data()
181 PREC(y) = numberof (data[i].y.d); in check_data()
187 PREC(want) = numberof (data[i].want.d); in check_data()
/netbsd-src/external/lgpl3/gmp/dist/tests/
H A Drefmpf.c90 if (size > PREC (w)) in refmpf_add()
92 wt += size - PREC (w); in refmpf_add()
93 size = PREC (w); in refmpf_add()
130 if (abs_fsize >= PREC(f) + 1) in refmpf_add_ulp()
148 size = MIN (PREC(f) + 1, size); in refmpf_fill()
178 mp_size_t dprec = PREC(dst); in refmpf_set_overlap()
186 PREC(dst) = dprec; in refmpf_set_overlap()
272 if (size > PREC (w)) in refmpf_sub()
274 wt += size - PREC (w); in refmpf_sub()
275 size = PREC (w); in refmpf_sub()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpf/
H A Dswap.c41 tprec = PREC(u); in mpf_swap()
42 PREC(u) = PREC(v); in mpf_swap()
43 PREC(v) = tprec; in mpf_swap()
H A Dreldiff.c52 dprec = PREC(rdiff) + ABSIZ(x); in mpf_reldiff()
53 ASSERT (PREC(rdiff)+1 == dprec - ABSIZ(x) + 1); in mpf_reldiff()
55 PREC(d) = dprec; in mpf_reldiff()
H A Dset_prc.c48 old_prec = PREC(x); in mpf_set_prec()
54 PREC(x) = new_prec; in mpf_set_prec()
H A Dclear.c37 __GMP_FREE_FUNC_LIMBS (PTR(x), PREC(x) + 1); in mpf_clear()
H A Dclears.c43 __GMP_FREE_FUNC_LIMBS (PTR(x), PREC(x) + 1); in mpf_clears()
H A Dset_z.c40 prec = PREC (r) + 1; in mpf_set_z()
H A Drandom2.c44 prec = PREC(x); in mpf_random2()
H A Durandomb.c46 prec = PREC (rop); in mpf_urandomb()
H A Dtrunc.c64 prec = PREC(r) + 1; in mpf_trunc()
H A Dsqrt_ui.c86 prec = PREC (r); in mpf_sqrt_ui()
H A Dset_q.c77 prec = PREC (r); in mpf_set_q()
/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Daverage.h32 #define DECLARE_EWMA(NAME, PREC, RATE) \ argument
46 return ewma->ewma_state >> (PREC); \
55 sample <<= (PREC); \
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dparse.d6947 if (precedence[e.op] == PREC.rel && !e.parens)
9335 enum PREC : int enum
9361 immutable PREC[EXP.max + 1] precedence = variable
9363 EXP.type : PREC.expr,
9364 EXP.error : PREC.expr,
9365 EXP.objcClassReference : PREC.expr, // Objective-C class reference, same as EXP.type
9367 EXP.typeof_ : PREC.primary,
9368 EXP.mixin_ : PREC.primary,
9370 EXP.import_ : PREC.primary,
9371 EXP.dotVariable : PREC.primary,
[all …]
H A Dhdrgen.d2010 expToBuffer(key, PREC.assign, buf, hgs); in expressionPrettyPrint()
2013 expToBuffer(value, PREC.assign, buf, hgs); in expressionPrettyPrint()
2082 expToBuffer(e.thisexp, PREC.primary, buf, hgs); in expressionPrettyPrint()
2099 expToBuffer(e.thisexp, PREC.primary, buf, hgs); in expressionPrettyPrint()
2249 expToBuffer(e.e2, cast(PREC)(precedence[e.op] + 1), buf, hgs); in expressionPrettyPrint()
2309 expToBuffer(e.e1, PREC.assign, buf, hgs); in expressionPrettyPrint()
2316 expToBuffer(e.e1, PREC.assign, buf, hgs); in expressionPrettyPrint()
2320 expToBuffer(e.msg, PREC.assign, buf, hgs); in expressionPrettyPrint()
2328 expToBuffer(e.e1, PREC.unary, buf, hgs); in expressionPrettyPrint()
2333 expToBuffer(e.e1, PREC.primary, buf, hgs); in expressionPrettyPrint()
[all …]
/netbsd-src/lib/libm/noieee_src/
H A Dn_expm1.c109 #define PREC 56 macro
111 #define PREC 53
149 if(k<=PREC) in expm1()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dwide-int-print.cc29 #define BLOCKS_NEEDED(PREC) \ argument
30 (((PREC) + HOST_BITS_PER_WIDE_INT - 1) / HOST_BITS_PER_WIDE_INT)
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dwide-int-print.cc29 #define BLOCKS_NEEDED(PREC) \ argument
30 (((PREC) + HOST_BITS_PER_WIDE_INT - 1) / HOST_BITS_PER_WIDE_INT)
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dget_f.c64 sx = PREC (x); in mpfr_get_f()
80 sx = PREC(x); /* number of limbs of the mantissa of x */ in mpfr_get_f()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dparse.h168 enum PREC enum
189 extern PREC precedence[TOKMAX];
/netbsd-src/external/lgpl3/mpfr/dist/examples/
H A Dthreads.c50 mpfr_inits2 (PREC, x, y, (mpfr_ptr) 0); in start_routine()

1234