sqrt

Computes the square root of x

@IEEECompliant("squareRoot", 42)
D
sqrt
(
D
)
(
auto const ref D x
)

Throws

InvalidOperationException if x is signaling NaN or negative, InexactException, UnderflowException

Special values

xsqrt(x)
NaNNaN
< 0.0NaN
±0.0±0.0
+∞+∞

Meta