min(NaN,5) = NaN (why no @fastmath?)

Mea culpa - I must confess that I do not possess a copy of IEEE 754 (the horror!) and can’t look it up myself :slight_smile:

Interestingly, some part of that minNum/maxNum/fmin/fmax kerfuffle depend not only on the programming language, but also on which version of the standard the language implements (and possibly the hardware, depending on if it’s compiled properly):

Do we distinguish between quiet and signaling NaNs at all? I don’t think so :thinking:

1 Like