lua-users home
lua-l archive

Re: catching divide by zero

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


On Thu, Dec 19, 2013 at 9:59 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Until someone swaps out the math library for one that supports complex
>> numbers...
>
> Ok, so try
> local nan_value = 1e999999-1e999999
>
Infinity minus infinity. Indeterminate form. I like it!
/s/ Adam

AltStyle によって変換されたページ (->オリジナル) /