[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: catching divide by zero
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 15 Dec 2013 22:46:49 -0200
> it crashes in json.decode.number on the line:
> local nan_value = 0/0
If that is a problem, try
local nan_value = math.sqrt(-1)
or
local nan_value = math.asin(2)