www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 14] New: ARM: runnable/testmath.d Arm not precise enough?

http://gdcproject.org/bugzilla/show_bug.cgi?id=14


           Summary: ARM: runnable/testmath.d Arm not precise enough?
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: johannespfau gmail.com


----
equals: x = 0.523599
equals: y = 0.523599
equals: ndigits = 16
bufx = '0.5235987755982989'
bufy = '0.5235987755982988'
core.exception.AssertError runnable/testmath.d(134): Assertion failure
----

Seems the floating point calculations (or fp to string conversion) on ARM (or
at least on the Raspberry Pi) are not precise enough to pass the tests in
testmath.d.

What should be done about this?
1. Lower required precision for all platforms
2. Special case ARM to lower precision
3. ?

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
Sep 25 2012