[Issue 9] New: ARM: runnable/builtin.d floating point equality fails

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Sep 25 02:33:44 PDT 2012


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

             Bug #: 9
           Summary: ARM: runnable/builtin.d floating point equality fails
    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


I guess the exact value doesn't matter here, so we could just compare the
result and allow a certain delta? What would be a useful delta here?

static assert(sin(6.8) == 0x1.f9f8d9aea10fdf1cp-2);
----
runnable/builtin.d:15: Error: static assert (4.94113351138608159e-1L ==
4.94113351138608325e-1L) is false
----

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