[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: weird bug?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 28 Feb 2001 15:06:09 -0300 (EST)
>I've been using Lua on QNX RtP lately, and this morning I noticed something strange: the number 65 is always displayed as 64.999999...
That's very weird. Is it really "65", I mean, an *integer*?
>Could this be a bug with Lua?
Very unlikely.
>Maybe the function that converts a number to a string?
Lua uses sprintf for this. Perhaps sprintf is broken in QNX.
--lhf