Happy Happy Joy Joy (was: On to Hydro)
Ben Laurie
ben@algroup.co.uk
Sat, 19 Aug 2000 20:18:09 +0100
"Mark S. Miller" wrote:
> Given a set (such as floating point values) of elements that one may compare
> with each other, the comparison operator must satisfy at least the minimum
> acceptable ordering contract, ie, the universal contract. Since we want to
> accept IEEE floating point values as such a set, and since we're confident
> it's the worst case, we define the universal contract as an "irreflexive
> partial ordering", which we define as a partial ordering in which an element
> must either be equivalent or incomparable to itself. (NaN is incomparable to
> itself.)
Eh? Am I being terminally stupid? Surely there are multiple NaNs
(+infinity, -infinity and indefinite, for example), and some of them are
comparable, e.g. +infinity > -infinity.
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
Coming to ApacheCon Europe 2000? http://apachecon.com/