[D-runtime] @safe and core.stdc.math

Alex Rønne Petersen xtzgzorex at gmail.com
Sun Jul 8 15:37:15 PDT 2012


On Sun, Jul 8, 2012 at 9:13 AM, Don Clugston <dclugston at gmail.com> wrote:
> On 8 July 2012 00:35, Alex Rønne Petersen <xtzgzorex at 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


More information about the D-runtime mailing list