[Issue 11320] std.math.fmod, round, trunc are not yet pure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 12 15:33:09 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=11320
Simon Naarmann <eiderdaus at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|x86 |All
Assignee|eiderdaus at gmail.com |nobody at puremagic.com
OS|Windows |All
--- Comment #5 from Simon Naarmann <eiderdaus at gmail.com> ---
Sorry, I lack the time these weeks. I've unassigned myself.
Here are my ideas:
- Refactor setControlState into a string mixin (seems best w.r.t. spec?)
- Refactor setControlState into standalone pure function (weird because it's
impure)
- Cast round() to pure inside Phobos even though we call setCountrolState
(feels like a bad idea)
--
More information about the Digitalmars-d-bugs
mailing list