lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Message: 10
>    Date: Sun, 4 Feb 2001 23:06:00 +0000 (GMT)
>    From: Gavin Wraith <>
> Subject: Is this a bug?
> Is this a bug in lua or in my C compiler (Gnu C)?
> Try
>    x = tonumber("FFFFFFFF",16)
>    print(x+1)
>    write(format("%d\n",x+1))
> For me it gives
>    4294967296
>    Uncaught trap: Floating point exception
> In my view it ought to truncate gracefully and give
>    4294967296
>    0
>  What does yours do?
> --
> Gavin Wraith ( or (
> Home page:
Under Windows NT I get:

Exactly what you expected.

BTW, is there a way to configure this group to receive individual messages?
Currently, I only have the options of Web only/Daily group.
Perhaps there is something to change in administrator mode...
My other eGroups/YahooGroups does allow me to get individual messages, so I
doubt it is a problem with my account.
Note that briefly before becoming YahooGroups, I had this option available.
Then, I didn't received any message from the group, and I had to set back to
daily mode.
Currently, it is a bit hard to answer to a message: I have to edit the whole
daily message to get only the relevant one.


Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist