On Tue, Mar 13, 2012 at 4:02 PM, Andrew Hughes <ahug...@redhat.com> wrote:
> Couple of questions:
>
> 1.  What is the reason for the removal of frexp?

That was a leftover which I've dropped locally.

> 2.  How are you compiling this?  IcedTea contains a patch
> which was required to make things like MIN/MAX_VALUE with hex
> digits work on ecj + Classpath:
>
> --- openjdk-ecj.orig/jdk/src/share/classes/java/lang/Double.java        
> 2010-05-26 09:32:38.000000000 +0100
> +++ openjdk-ecj/jdk/src/share/classes/java/lang/Double.java     2010-05-26 
> 15:02:51.000000000 +0100
> @@ -76,7 +76,7 @@
>      * {@code 0x1.fffffffffffffP+1023} and also equal to
>      * {@code Double.longBitsToDouble(0x7fefffffffffffffL)}.
>      */
> -    public static final double MAX_VALUE = 0x1.fffffffffffffP+1023; // 
> 1.7976931348623157e+308
> +    public static final double MAX_VALUE = 1.7976931348623157e+308;
>
> We don't want to be in a situation where we can't compile ourselves!

Good point. I'm building with OpenJDK + ECJ because Ubuntu no longer
ships GNU Classpath. I'll convert all of them to non-hex constants.

                         Pekka

Reply via email to