[Issue 7982] New: iota broken when start and end are unsigned and step is negative.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 24 14:21:11 PDT 2012


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

           Summary: iota broken when start and end are unsigned and step
                    is negative.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: eco at gnuk.net


--- Comment #0 from Brad Anderson <eco at gnuk.net> 2012-04-24 14:22:13 PDT ---
iota.length doesn't properly handle unsigned values when the end is < the start
(as is the case when using a reverse iota).

I already know the problem, I just don't want to forget about it. I'll see
about making a fix for it soon.

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