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

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Sep 25 05:09:01 PDT 2012


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

             Bug #: 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 at gdcproject.org
        ReportedBy: johannespfau at gmail.com


----
equals: x = 0.523599
equals: y = 0.523599
equals: ndigits = 16
bufx = '0.5235987755982989'
bufy = '0.5235987755982988'
core.exception.AssertError at 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.


More information about the D.gnu mailing list