DoubleBuffer.compareTo is not anti-symmetric

Florian Weimer fweimer at
Tue Nov 24 03:53:49 PST 2009

* Alan Bateman:

> Florian Weimer wrote:
>> :
>> Does this happen transparently by the JVM? does not
>> do it, as far as I can tell.

> will use doubleToLongBits.  AFAIK, the only method that
> preserves or exposes NaN values is doubleToRawLongBits.

Oh, I had missed this.  Thanks for the clarification.

Florian Weimer                <fweimer at>
BFK edv-consulting GmbH
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

More information about the nio-dev mailing list