db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject FieldsOfDouble problem
Date Tue, 17 May 2005 18:26:59 GMT
TestFieldsOfDouble fails because the test attempts to persist values of  
Double.MIN_VALUE and Double.MAX_VALUE and the Derby double datatype has 
narrower limits:

"DOUBLE value ranges:

    * Smallest DOUBLE value: -1.79769E+308
    * Largest DOUBLE value: 1.79769E+308
    * Smallest positive DOUBLE value: 2.225E-307
    * Largest negative DOUBLE value: -2.225E-307

These limits are different from the java.lang.DoubleJava type limits."

Any suggestions on how to handle this?

-- Michelle

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message