|
From: | Richard Kirk |
Subject: | Re: NaN problem |
Date: | Wed, 8 Aug 2018 15:35:34 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 08/08/2018 02:58 PM, shivax wrote:
This is standard IEEE floating-point stuff. Not-A-Numbers should not test as equal to anything, even themselves. So gg != gg ought to be true. it is one way of testing for NaNs in many languages.gg=NaNgg!=NaNans = 1 it's possible?
[Prev in Thread] | Current Thread | [Next in Thread] |