[Issue 5418] New: std.math.lround not implemented on win32 and not documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 6 02:56:52 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5418

           Summary: std.math.lround not implemented on win32 and not
                    documented
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: spam at extrawurst.org


--- Comment #0 from Stephan Dilly <spam at extrawurst.org> 2011-01-06 02:54:35 PST ---
lround and possibly other functions are implemented as assert(false) which is
simply a HLT instruction in release under win32:

version (Posix)
    return core.stdc.math.llroundl(x);
else
    assert (0, "lround not implemented");

This is frustrating since it is not documented and if someone comes across this
he just gets it if he looks into the phobos source.

(tested with dmd 2.051)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list