> assertTrue(Math.abs(floatResult-floatTest)<.00000000001);

I would change this to:

assertTrue(Math.abs(floatResult-floatTest)<.00000000001 :
  "Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + "
- " + Double.doubleToRawLongBits(floatTest) + " < min.")

this should give you raw double representation from which you could
then diagnose the issue (reproduce locally for the same seed, compare
raw repr.).

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to