Rev 880 | Rev 10525 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{double}\title{Double Precision Vectors}\alias{double}\alias{as.double}\alias{as.double.default}\alias{is.double}\alias{as.single}\alias{as.single.default}\usage{double(length = 0)as.double(x)is.double(x)}\value{\code{double} creates a double precision vector of the specifiedlength. The elements of the vector are all equal to \code{0}.\code{as.double} attempts to coerce its argument to be of doubletype.\code{is.double} returns \code{TRUE} or \code{FALSE} depending onwhether its argument is of double type or not.}\note{\emph{\R has no single precision data type. All real numbers arestored in double precision format}.}\seealso{\code{\link{integer}}.}\examples{is.double(1)all(double(3) == 0)}\keyword{classes}