Home
last modified time | relevance | path

Searched refs:cprec (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dcache.c60 mpfr_prec_t cprec; /* precision of the cache */ in mpfr_cache() local
72 cprec = MPFR_PREC (cache->x); in mpfr_cache()
73 if (MPFR_UNLIKELY (dprec > cprec)) in mpfr_cache()
81 cprec = MPFR_PREC (cache->x); in mpfr_cache()
82 if (MPFR_LIKELY (dprec > cprec)) in mpfr_cache()
86 if (MPFR_UNLIKELY (cprec == 0)) /* No previous result. */ in mpfr_cache()
88 cprec = dprec; in mpfr_cache()
89 mpfr_init2 (cache->x, cprec); in mpfr_cache()
96 cprec += cprec / 10; in mpfr_cache()
97 if (cprec < dprec) in mpfr_cache()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/demos/expr/
H A Dexpr.c464 #define PRECEDENCE_TEST_REDUCE(tprec,cprec,ttype,ctype) \ in mpexpr_evaluate() argument
465 ((tprec) < (cprec) \ in mpexpr_evaluate()
466 || ((tprec) == (cprec) && ! ((ttype) & MPEXPR_TYPE_RIGHTASSOC))) in mpexpr_evaluate()
/netbsd-src/external/lgpl3/mpfr/dist/
H A DChangeLog7752 and cprec for the precision of the cache) and added/updated comments.