[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: number question
- From: Edgar Toernig <froese@...>
- Date: Tue, 18 Apr 2000 02:46:16 +0200
Ralf HECKHAUSEN wrote:
>
> We want to run Lua on an machine without floating-point-unit
> and basically only need integer numbers. How much effort is
> it to switch the number type to long instead of double?
It's not that much work. I posted a patch once on this list.
In case you can't find it: http://user.exit.de/froese/lua/lua-et1.diff.gz
> Is it possible to have a new user type float next to number with all
> standard operators? Did someone already implement this?
Possible? Yes! Already done with FPU? Maybe. Without FPU? Don't
think so *g*
Ciao, ET.