https://issues.dlang.org/show_bug.cgi?id=6531
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
https://issues.dlang.org/show_bug.cgi?id=6531
Basile B. changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=6531
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
http://d.puremagic.com/issues/show_bug.cgi?id=6531
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
CC||acehr...@yahoo.com
---
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
http://d.puremagic.com/issues/show_bug.cgi?id=6531
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Keywords||pull
--- Comment #12 from
http://d.puremagic.com/issues/show_bug.cgi?id=6531
drug007 drug2...@bk.ru changed:
What|Removed |Added
CC||drug2...@bk.ru
--- Comment #6
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=6531
safety0ff.b...@gmail.com changed:
What|Removed |Added
CC||safety0ff.b...@gmail.com
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
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
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
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:
http://d.puremagic.com/issues/show_bug.cgi?id=6531
d...@dawgfoto.de changed:
What|Removed |Added
CC||d...@dawgfoto.de
Depends on|
15 matches
Mail list logo