R/ecd-is-numericMpfr-internal.R

### <======================================================================>
#
# This is a helper function for ecd constructor
# It extends is.numeric for mpfr
#
"is.numericMpfr" <- function(x)
{
    ifelse( is.numeric(x) | class(x)=="mpfr" | class(x)=="numericMpfr", TRUE, FALSE ) 
}
### <---------------------------------------------------------------------->

Try the ecd package in your browser

Any scripts or data that you put into this service are public.

ecd documentation built on May 10, 2022, 1:07 a.m.