[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Floating point lua
- From: "Sebby " <beast@...>
- Date: Fri, 24 Nov 2000 04:38:01 -0000
> The main reason for using float instead of double is to reduce
> Someone in the list mentioned that doubles in some machine were
> I'd like to hear more about this.
Like it was just mentioned by someone else, one example would be the
Playstation 2 game console. It's hardware supports floats but not
doubles. If any instruction uses doubles then the calculations are
emulated in software and are then really slow.
The only problem i can see with using floats is that it then becomes
imposible to represent 32 bit integer values in Lua.