mpfrVersion()
returns the version of the MPFR library which
Rmpfr is currently linked to.
c(x,y,...)
can be used to combine MPFR numbers in the
same way as regular numbers IFF the first argument x
is
of class '>mpfr
.
mpfrIs0(.)
uses the MPFR library in the documented way to
check if (a vector of) MPFR numbers are zero. It was called
mpfr.is.0
which is strongly deprecated now.
.mpfr.is.whole(x)
uses the MPFR library in the documented way to
check if (a vector of) MPFR numbers is integer valued. This is
equivalent to x == round(x)
, but not at all to
is.integer(as(x, "numeric"))
.
You should typically rather use (the "mpfr"
method of the
generic function) is.whole(x)
instead.
The former name mpfr.is.integer
is deprecated now.