www.digitalmars.com         C & C++   DMDScript  

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

http://gdcproject.org/bugzilla/show_bug.cgi?id=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 gdcproject.org
        ReportedBy: johannespfau 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.
Sep 25 2012