powered by
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())
An arb vector storing function values with error bounds. Its length is the length of prec, typically 1.
arb
prec
a numeric or slong vector indicating the desired precision as a number of bits.
slong
The FLINT documentation of the underlying C functions: https://flintlib.org/doc/arb.html
Class arb.
prec <- cumprod(rep(c(1, 2), c(1L, 15L))) arb_const_pi(prec)
Run the code above in your browser using DataLab