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: nob...@puremagic.com
        ReportedBy: s...@extrawurst.org


--- Comment #0 from Stephan Dilly <s...@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: -------

Reply via email to