[Rd] integer constants given by hexadecimal notation

Stephan orcaforge at googlemail.com
Tue May 1 13:21:53 CEST 2007


Hi,

> 0x10L
returns: int 0

I would expect: int 16?
This happens with all integer constants given by hexadecimal notation.
It's a bug?


> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32

locale:
LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"
[7] "base"


Stephan



More information about the R-devel mailing list