[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: No FP compile option for Lua?
- From: "Peter Cawley" <lua@...>
- Date: Wed, 20 Feb 2008 15:43:51 +0000
When the processor has a floating point unit, yes. When developing on
hardware like the Nintendo DS, there is no hardware floating point in
either the ARM9 or ARM7 chip, so floating point has to be done slowly
in software.
On 20/02/2008, Miles Bader <miles@gnu.org> wrote:
> ramsdell@mitre.org (John D. Ramsdell) writes:
> >> Besides, in contrast with my all integer modification, your
> >> modification to Lua would run number intensive applications much
> >> slower.
> >
> > This isn't what I meant to say. I meant to say one cannot make the
> > desired changes given the list of macros you listed. Furthermore, I
> > bet an integer only version of Lua would run quite a bit faster on
> > some number intensive applications.
>
> I expect it depends on the processor you're talking about. Floating
> point arithmetic on modern processors is often _very_ fast...
>
> -Miles
>
>
> --
> Love is a snowmobile racing across the tundra. Suddenly it flips over,
> pinning you underneath. At night the ice weasels come. --Nietzsche
>