[Issue 11320] std.math.fmod, round, trunc are not yet pure

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-11-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 Simon Naarmann changed: What|Removed |Added Hardware|x86 |All Assignee|eiderd...@gmail.com

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 --- Comment #4 from Simon Naarmann --- D language spec, Pure Functions: https://dlang.org/spec/function.html#pure-functions In Point 8, it says: As a concession to practicality, a pure function can also: * read and write the floating point

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 --- Comment #3 from Simon Naarmann --- I see no problems to making fmod() pure. But with round(), here's the Phobos code: auto round(real x) @trusted nothrow @nogc { version (CRuntime_Microsoft) { auto old =

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 Simon Naarmann changed: What|Removed |Added Assignee|nob...@puremagic.com|eiderd...@gmail.com --

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2018-10-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 Simon Naarmann changed: What|Removed |Added CC||eiderd...@gmail.com --- Comment #2 from

[Issue 11320] std.math.fmod, round, trunc are not yet pure

2017-01-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11320 Ryan changed: What|Removed |Added CC|