On Thu, 12 Jul 2012 16:31:34 +0200, Christophe Travert <trav...@phare.normalesup.org> wrote:

By the way, would it be possible to implement an opCmp that returns a
double, to allow it to return a NaN ? That may allow to create values
that are neither superior, nor inferior to other value, like NaNs. It's
not possible to implement opCmp for a floating point comparison if opCmp
is bound to return an int.

Why don't you just test it? Not like it'd be many lines of code.

Anyways, yes this works.

--
Simen

Reply via email to