Skip to main content

sqrt

Overloads​

NameDescription
sqrt(complex p) -> complexCalculates the square root of the given value.
sqrt(bool p) -> realCalculates the square root of the given value.
sqrt(real p) -> realCalculates the square root of the given value.
sqrt(integer p) -> realCalculates the square root of the given value.

sqrt(complex p) -> complex​

Calculates the square root of the given value.

Parameters​

  • p: The value to calculate the square root for.

sqrt(bool p) -> real​

Calculates the square root of the given value.

Parameters​

  • p: The value to calculate the square root for.

sqrt(real p) -> real​

Calculates the square root of the given value.

Parameters​

  • p: The value to calculate the square root for.

sqrt(integer p) -> real​

Calculates the square root of the given value.

Parameters​

  • p: The value to calculate the square root for.