klyn.math.Math.sqrt
method
public static sqrt<FLOAT_TYPE extends AbstractFloat = Double>(value as FLOAT_TYPE) as FLOAT_TYPE:
Description

Returns the square root of a floating-point value.

Throws
  • ValueError if `value` is negative. ```klyn import klyn.math print(Math.sqrt(9.0)) print(Math.sqrt(2.0f)) ```