Happy Happy Joy Joy (was: On to Hydro)

Jonathan S. Shapiro shap@eros-os.org
Wed, 23 Aug 2000 10:52:56 -0400


It is a straightforward adaptation of red-black trees to allow multiple
instances of the same value -- internally you just need a counter on the
nodes.

The problem with doing this for NaN is that the value of NaN is
indeterminate, which is why comparison on NaN is undefined.