lua-users home
lua-l archive

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


Thanks everyone for such a lively discussion on this simple topic. I
was suspecting that this is a Mac OS X thing, but when I compiled and
used version 5.1.4, it still produced the same results. BUT, as Tony
says here that it does not do the same thing with 10.6.4 of Mac OS X,
I guess it really doesn't matter much. Especially when you consider
that when I use %d (instead of %f in the string.format), it prints out
0 (and not -0).

So, I am sure that this issue has something to do with the old
implementation of floor on the Mac. It could also have something to do
with my processor being an older G4, and not an Intel...

Mike

On Mon, Sep 20, 2010 at 9:09 AM, Tony Finch <dot@dotat.at> wrote:
> On Sun, 19 Sep 2010, Mike McGonagle wrote:
>
>> I am running on a Mac OS X 10.4.11 with lua 5.1.2, comiled in 2007.
>
> I can't reproduce the problem with Lua 5.1.4 on Mac OS X 10.6.4.
>
> Tony.
> --
> f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
> HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
> DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
> ROUGH. RAIN THEN FAIR. GOOD.
>
>