[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gsl-shell-info] 0/0 and nan
From: |
Lesley De Cruz |
Subject: |
Re: [Gsl-shell-info] 0/0 and nan |
Date: |
Thu, 9 Jan 2014 12:14:03 +0100 |
On 9 January 2014 00:25, elton wang <address@hidden> wrote:
> In gsl-shell 2.3.1 windows version, why 0/0 == 0/0 returns true?
> in Lua 5.1, 0/0 == 0/0 returns false.
> thanks,
That's because gsl-shell is compiled with the -ffast-math flag, which
(surprisingly!) disables nans and infs -- ouch.
--
Best regards,
Lesley