bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/48359] New: ARM SOFTFP double to ascii issue still there


From: gert.brettlecker at ergon dot ch
Subject: [Bug classpath/48359] New: ARM SOFTFP double to ascii issue still there
Date: Wed, 30 Mar 2011 09:40:10 +0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48359

           Summary: ARM SOFTFP double to ascii issue still there
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Hi 

I have seen http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22800. 

I am using the fixed version (0.98). But there is still a problem with double
to string conversion in Java_lang_VMDouble.c and I am running into the
assertion there.

My platform is arm-v5te without hardware FPU using gcc 4.3.2 with
-mfloat-abi=soft. There I found out, that the addition of two denormalized
double 64 bit numbers are sometimes producing wrong results, e.g. the sum is
smaller than the bigger one even though both are positive. If one number is
normalized there is no more problem.  

But in cases of wrong calculation, the alorithm in
Java_java_lang_VMDouble_toString runs into assertion for certain numbers. Maybe
it is possible to allow that parsed_value_unequal is set only if the difference
exceeds a certain threshold and if it is not exactly the same.

Cheers
Gert



reply via email to

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