lua-users home
lua-l archive

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


> 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.