sqrt (Function)
Signature: sqrt(x: float) -> float
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 (float): The float to take the root of
Returns: float
Example
sqrt(2.0) // 1.4142135623730951
sqrt 2.0 // 1.4142135623730951