db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: FieldsOfDouble problem
Date Tue, 17 May 2005 22:06:35 GMT
Hi Michelle, Hi Craig,

I recall we had a similar issue with the TCK 1.0.1.

I think the test case does not really require the values 
Double.MIN_VALUE and Double.MAX_VALUE. So maybe we can use different 
double values for the test.

Regards Michael

> 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
>


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message