[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NaN problem

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:

ans =  1

it's possible?
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]