Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -3154,9 +3154,10 @@ if (isInputRange!Source && isSomeChar!(ElementType!Source) && !is(Source == enum
assert(to!string(r) == to!string(real.max));
}

//Tests for the double implementation
@safe unittest
// Tests for the double implementation
@system unittest
{
// @system because strtod is not @safe.
static if (real.mant_dig == 53)
{
import core.stdc.stdlib, std.exception, std.math;
Expand Down