Convert numeric to mpfr for ecd calculations.
ecd.mp1 is the constant 1 wrapped in mpfr class.
ecd.erf is a wrapper on Rmpfr::erf.
ecd.devel is a developer tool to size down intensive mpfr tests for CRAN. Set ecd_devel in R options or OS env to change its value.
Usage
ecd.mpfr(x, precBits = getOption("ecd.precBits"))
ecd.mp1
ecd.erf(x)
ecd.devel()
Arguments
x
a numeric vector or list. If x is mpfr class,
it will be passed through.
precBits
an integer for mpfr precBits.
Default is from getOption("ecd.precBits").