"min" and "max"

Ali Çehreli acehreli at yahoo.com
Wed Aug 10 00:32:02 UTC 2022


On 8/9/22 17:03, pascal111 wrote:

 > They said " If at least one of the arguments is NaN, the result is an
 > unspecified value.

That's called "unorderedness":

 
http://ddili.org/ders/d.en/floating_point.html#ix_floating_point.unordered

 > as a beginner how can I guess what "NaNs"
 > means or if it refers to ranges?!

You can use the index: ;)

   http://ddili.org/ders/d.en/ix.html

There are a couple of entries for 'nan' there.

Ali



More information about the Digitalmars-d-learn mailing list