[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: catching divide by zero
- From: Elias Barrionovo <elias.tandel@...>
- Date: Thu, 19 Dec 2013 17:22:17 -0200
On Thu, Dec 19, 2013 at 5:08 PM, Bezobiuk Volodymyr <dedoogun@gmail.com> wrote:
> and looks like second infinity was bigger than first one... as it returns
> '-nan' not just 'nan' :)
Well, so does 0 / 0 on my machine.
Also, as a bikeshedding exercise, I believe "nan = math.huge -
math.huge" is clearer. =)
--
NI!
() - www.asciiribbon.org
/\ - ascii ribbon campaign against html e-mail and proprietary attachments