Compute square root of x.
import std.math.operations : feqrel; import std.math.traits : isNaN; assert(sqrt(2.0).feqrel(1.4142) > 16); assert(sqrt(9.0).feqrel(3.0) > 16); assert(isNaN(sqrt(-1.0f))); assert(isNaN(sqrt(-1.0))); assert(isNaN(sqrt(-1.0L)));
See Implementation
Compute square root of x.