[Rd] formatC using a "single" as argument (PR#8211)

jmaydt@mpi-sb.mpg.de jmaydt at mpi-sb.mpg.de
Mon Oct 17 18:17:16 CEST 2005


Full_Name: Jochen Maydt
Version: R2.2.0
OS: Windows
Submission from: (NULL) (139.19.34.7)


formatC does not handle "single"s correctly:

> formatC(as.single(1))
[1] "5.264e-315"
attr(,"Csingle")
[1] TRUE

This seems to be an unlikely use-case, however.

Thank you for creating a great programming language,
Jochen



More information about the R-devel mailing list