Bug 9877 – Assertion failure in iota for float parameters
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2013-04-04T11:24:00Z
Last change time
2013-10-30T11:15:24Z
Assigned to
nobody
Creator
acehreli
Comments
Comment #0 by acehreli — 2013-04-04T11:24:19Z
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);
}
Comment #1 by andrej.mitrovich — 2013-04-04T11:26:10Z
Dupe of Issue 6531?
Comment #2 by code — 2013-10-30T11:15:24Z
(In reply to comment #1)
> Dupe of Issue 6531?
Yep
*** This issue has been marked as a duplicate of issue 6531 ***