[Issue 9877] New: Assertion failure in iota for float parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 4 11:24:22 PDT 2013


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

           Summary: Assertion failure in iota for float parameters
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: acehreli at yahoo.com


--- Comment #0 from Ali Cehreli <acehreli at yahoo.com> 2013-04-04 11:24:19 PDT ---
The following program asserts when compiled with -m32. (-m64 runs.)

import std.range;

void main()
{
    float st = 0.000000000000000;
    float step = 12.038554191589355;
    float en = 999.200012207031250;

    iota(st, en, step);
}

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