25-Check precision | R Documentation |
Checks the precision of a given MPCR object.
## S4 method for signature 'Rcpp_MPCR'
MPCR.is.single(x)
## S4 method for signature 'Rcpp_MPCR'
MPCR.is.half(x)
## S4 method for signature 'Rcpp_MPCR'
MPCR.is.double(x)
## S4 method for signature 'Rcpp_MPCR'
MPCR.is.float(x)
x |
An MPCR object. |
Boolean indicates the precision of the object according to the used function.
library(MPCR)
x <- as.MPCR(1:20,precision="double")
MPCR.is.double(x) #TRUE
MPCR.is.single(x) #FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.