Thread overview | |||||
---|---|---|---|---|---|
|
July 08, 2012 [D-runtime] @safe and core.stdc.math | ||||
---|---|---|---|---|
| ||||
Hi,
Can we mark core.stdc.math @safe or @trusted? It's kind of a pain at
the moment because std.math.exp() for non-x86 depends on
core.stdc.math.exp() which is not @safe.
Regards,
Alex
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime
|
July 08, 2012 Re: [D-runtime] @safe and core.stdc.math | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Rønne Petersen | On 8 July 2012 00:35, Alex Rønne Petersen <xtzgzorex@gmail.com> wrote: > Hi, > > Can we mark core.stdc.math @safe or @trusted? It's kind of a pain at > the moment because std.math.exp() for non-x86 depends on > core.stdc.math.exp() which is not @safe. Yes, hardly any of it is pure, but almost all is @trusted. _______________________________________________ D-runtime mailing list D-runtime@puremagic.com http://lists.puremagic.com/mailman/listinfo/d-runtime |
July 09, 2012 Re: [D-runtime] @safe and core.stdc.math | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | On Sun, Jul 8, 2012 at 9:13 AM, Don Clugston <dclugston@gmail.com> wrote: > On 8 July 2012 00:35, Alex Rønne Petersen <xtzgzorex@gmail.com> wrote: >> Hi, >> >> Can we mark core.stdc.math @safe or @trusted? It's kind of a pain at >> the moment because std.math.exp() for non-x86 depends on >> core.stdc.math.exp() which is not @safe. > > Yes, hardly any of it is pure, but almost all is @trusted. Done: https://github.com/D-Programming-Language/druntime/pull/261 Regards, Alex _______________________________________________ D-runtime mailing list D-runtime@puremagic.com http://lists.puremagic.com/mailman/listinfo/d-runtime |
Copyright © 1999-2021 by the D Language Foundation