Mathematical Constants Represented to Arbitrary Precision
Compute standard mathematical constants to arbitrary precision.
arb_const_pi(prec = flintPrec()) arb_const_log2(prec = flintPrec()) arb_const_log10(prec = flintPrec()) arb_const_e(prec = flintPrec())
prec
: a numeric or slong
vector indicating the desired precision as a number of bits.An arb
vector storing function values with error bounds. Its length is the length of prec
, typically 1.
Class arb
.
The FLINT documentation of the underlying
functions: https://flintlib.org/doc/arb.html
prec <- cumprod(rep(c(1, 2), c(1L, 15L))) arb_const_pi(prec)