[core.stdc.math] everything is pure#3050
Conversation
|
Thanks for your pull request and interest in making D better, @thewilsonator! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + druntime#3050" |
Everything in core.stdc.math so use an attribute at the top.
35a1de5 to
df1482a
Compare
|
Thanks, fixed. |
|
I don't think you can say that everything is pure when most alter errno. |
|
For your reference: Functions that are not intrinsically pure (because they store into memory).
|
|
I think #2045 doesn't leave anything in |
I really hope we don't go in that direction. Logical |
Well pure+errno is the main reason why we do things ourselves in std.math over just forwarding to libm. |
|
Closing as per:
|
Everything in core.stdc.math so use an attribute at the top.