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
3 changes: 1 addition & 2 deletions druntime/src/object.d
Original file line number Diff line number Diff line change
Expand Up @@ -4763,10 +4763,9 @@ auto _d_pow(Base, Exp)(Base base, Exp exp)
}

// Forwarding hook for the e1 ^^ 0.5 optimisation (square root).
// TODO: move implementation to druntime instead of Phobos.
auto _d_sqrt(T)(T x)
{
import std.math : sqrt;
import core.math : sqrt;
return sqrt(x);
}

Expand Down
Loading