Re: [Rd] integer constants given by hexadecimal notation (PR#9648)

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue, 01 May 2007 14:04:52 +0200

murdoch_at_stats.uwo.ca wrote:
> On 01/05/2007 7:21 AM, Stephan wrote:
>
>> Hi,
>>
>>
>>> 0x10L
>>>
>> returns: int 0
>>
>> I would expect: int 16?
>> This happens with all integer constants given by hexadecimal notation.
>> It's a bug?
>>

>
> Certainly looks like one; I've cc'd this to the bug list (but won't be
> able to look into fixing it).
>
>
Not happening on Fedora Linux:

 > 0x10L
[1] 16
 > str(0x10L)
 int 16



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 01 May 2007 - 18:45:55 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 - 20:35:32 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.