[Issue 6531] assertion failure in std.range.iota

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6531 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 6531] assertion failure in std.range.iota

2017-12-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6531 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6531] assertion failure in std.range.iota

2016-10-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6531 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp

[Issue 6531] assertion failure in std.range.iota

2013-10-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||acehr...@yahoo.com ---

[Issue 6531] assertion failure in std.range.iota

2013-10-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #11 from Martin Nowak c...@dawg.eu 2013-10-30 11:24:42 PDT --- Indeed, casting does not seem sufficient to force correct rounding of intermediate results. Seems like the solution is to either assign and force rounding, or use

[Issue 6531] assertion failure in std.range.iota

2013-10-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 Martin Nowak c...@dawg.eu changed: What|Removed |Added Keywords||pull --- Comment #12 from

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 drug007 drug2...@bk.ru changed: What|Removed |Added CC||drug2...@bk.ru --- Comment #6

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #7 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-04-11 08:13:26 PDT --- (In reply to comment #6) Martin Nowak's fix is the better (simpler and more clear) but I just don't like cast. I've tried his fix and it didn't

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #8 from drug007 drug2...@bk.ru 2013-04-11 08:21:21 PDT --- (In reply to comment #7) (In reply to comment #6) Martin Nowak's fix is the better (simpler and more clear) but I just don't like cast. I've tried his fix and it

[Issue 6531] assertion failure in std.range.iota

2013-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 safety0ff.b...@gmail.com changed: What|Removed |Added CC||safety0ff.b...@gmail.com

[Issue 6531] assertion failure in std.range.iota

2013-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #5 from Martin Nowak c...@dawg.eu 2013-04-06 01:47:07 PDT --- if (pastEnd = end) ++count; This is definitely wrong. There are only 100 steps in [0, 0.03 ..., 3.0). The problem was that assert(0.0 + 100 * 0.03 = 3.0) fails because

[Issue 6531] assertion failure in std.range.iota

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-04-05 10:34:42 PDT --- (In reply to comment #3) The correct fix is to narrow the lhs of the comparison. assert(cast(Value)(start + count * step) = end) That doesn't fix the

[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 Yao Gomez yao.go...@gmail.com changed: What|Removed |Added CC||yao.go...@gmail.com

[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 --- Comment #2 from Yao Gomez yao.go...@gmail.com 2012-02-06 12:51:13 PST --- I have a patch with this solution, but I haven't pulled it yet, because I need more input in whether this is the right fix or not. -- Configure issuemail:

[Issue 6531] assertion failure in std.range.iota

2012-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6531 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de Depends on|