[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is this a bug?
- From: rjek@...
- Date: Sun, 4 Feb 2001 23:46:20 +0000
On Sun, Feb 04, 2001 at 11:06:00PM +0000, Gavin Wraith wrote:
> Is this a bug in lua or in my C compiler (Gnu C)?
> x = tonumber("FFFFFFFF",16)
> For me it gives
> Uncaught trap: Floating point exception
> In my view it ought to truncate gracefully and give
> What does yours do?
I'm wondering if it's a problem with RISC OS' FPE, because Lua
post-mortems when compiled with Norcroft/ARM CC, GCC or EasyC
when this is executed, but seems to function correctly when
compiled with GCC and run on a i386 Linux box. If somebody wants
a nice stack backtrace from my RISC OS port, just ask. It
Rob Kendrick - http://www.digital-scurf.org/
Today is what happened to yesterday.