sqrt

fnfloat sqrt(float x) @nogc @safe pure nothrow

Compute square root of x.

x sqrt(x) invalid?
-0.0 -0.0 no
<0.0 NaN yes
+∞ +∞ no
fndouble sqrt(double x) @nogc @safe pure nothrow

ditto

fnreal sqrt(real x) @nogc @safe pure nothrow

ditto