Re: catching divide by zero
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: catching divide by zero
- From: Petite Abeille <petite.abeille@...>
- Date: 2013年12月15日 16:04:16 +0100
On Dec 15, 2013, at 3:52 PM, Andy Colson <andy@squeakycode.net> wrote:
> Is there magic I have to do so that's somehow valid? Why doesnt the lua command line crash?
print( 0/0 )
> nan
All perfectly good and valid. You might need to provide additional info about your particular circumstances, e.g. stack trace or something.