[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: io_date
- From: "D Burgess" <db@...>
- Date: Thu, 1 May 2003 15:1:14 +1000
>> I think your change is wrong because there is no
>> guarantee that you will have an integer value on
>> the LHS of (n == -1).
SERIOUS typo on my part, I meant NOT an integer.
>
>It will not be an integer, it will be a double, (Lua_Number
>is a double on my system), and the compiler will type -1 as a
>double accordingly. Actually, I use
>
> t = (time_t) fabs(n);
>