nan question

Nathan Reed nathaniel.reed at gmail.com
Tue Sep 25 09:11:49 PDT 2007


bobef wrote:
> BCS Wrote:
> 
> 
>> if you want to check for nan without a function call uses: fpVar !<>= 0
>>
>>
> 
> 
> HAHAHAHAHAHAHAHA. I am not laughing at you, thanks for the help, but something is totally wrong. Just look at this. "!<>=" it looks almost like bytecode or 1337 or something :)

Read it as "fpVar is not less than, greater than, or equal to zero."

The only 'number' that satisfies all these conditions is NaN.

Thanks,
Nathan Reed



More information about the Digitalmars-d mailing list