sqrt (Function)
Signature: sqrt(x: t0) -> t0
Description: The square root of a float. Total over IEEE doubles: a negative argument yields NaN. Pure, so a kernel may call it or name it.
Parameters
- x (
t0): The float to take the root of
Returns: t0
Example
print(sqrt(2.0)) // 1.4142135623730951
print (sqrt 2.0) // 1.4142135623730951