[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Native Complex numbers for LuaJIT-2 [was Re: Benchmark shootout shows LuaJIT 2.0]
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 3 Nov 2009 07:48:49 -0200
> Well, today I got bored, and started coding a complex number
> implementation in pure lua.
Caveat: as far as I remember, writing correct code for complex functions
is not that simple if one wants to be correct to the last digit, handle
and avoid overflow in intermediate steps, etc. Just like you wouln't
want to write the math library if pure Lua, except as an emergency.