Import std.math.scalar
Sqrt
function
Public Function Sqrt<T: FloatingPoint>(value: T): T
The square root. A negative value's is NaN.
Examples
Expect(Sqrt(16.0) == 4.0)
Expect(IsClose(Sin(Deg(30)), 0.5))
Expect(IsClose(Atan2(1.0, 1.0), Deg(45)))Report an issue with this page or with FutureBlitz on GitHub.