classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: floats ??????


From: Chris Gray
Subject: Re: floats ??????
Date: Mon, 16 Sep 2002 13:15:42 +0200 (CEST)

On 16 Sep 2002, John Leuner wrote:

> It's almost certainly a kissme bug.

Mind you some versions at least of Jikes generate a bad bit pattern for NaN:

  FAIL $$java.lang.Double$$doubleToLongBits(double)long$$Value Double.NaN$$: 
  gnu.testlet.wonka.lang.Double.DoubleTest: doubleToLongBits(double)long 
(number 9)
  got -2251799813685248 but expected 9221120237041090560 
  NaN = fff8000000000000, but should be 0x7ff8000000000000 

That's jikes 1.12, which was the last version to be able to compile Wonka
without generating bad code or dumping core ...

-- 

Chris Gray

VM Architect, ACUNIA






reply via email to

[Prev in Thread] Current Thread [Next in Thread]