[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is this a bug?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 4 Feb 2001 22:15:05 -0200
>Is this a bug in lua or in my C compiler (Gnu C)?
> x = tonumber("FFFFFFFF",16)
> What does yours do?
My Linux gives
This seems correct, except that conversion from double to int does not work
well when the double value is too large (ie does not fit into an int).