## Functions :
all_mpfr(...)
any_mpfr(...)
logr(x, a) # == log(x / (x + a)) -- but numerically smart; x > 0, a >= 0 > -x
Arguments
…
numeric or "mpfr" numeric vectors.
x, a
number-like ..
Value
The numeric constant in the first case; a numeric (or "mpfr") vector of
appropriate size in the 2nd case.
Details
all_mpfr(),
all_mpfr() :
test if all or
any of their arguments or of class "mpfr" (from
package Rmpfr). The arguments are evaluated only until
the result is determined, see the example.
logr()
computes \(\log( x / (x+a) )\) in a numerically
stable way.