[Rd] integer constants given by hexadecimal notation

From: Stephan <orcaforge_at_googlemail.com>
Date: Tue, 01 May 2007 13:21:53 +0200


> 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)


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


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 01 May 2007 - 13:49:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 01 May 2007 - 18:33:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.