SQR function

Purpose

Return the square root of its argument.

Syntax

y = SQR(numeric_expression)

Remarks

numeric_expression must be greater than or equal to zero.  SQR calculates square roots using an optimized algorithm.  That is, y = SQR(x) takes less time to execute than y = x^0.5.

Attempting to take the square root of a negative number does not produce any run-time errors, but the results of such an operation are undefined.

SQR returns an Extended-precision result.

See also

EXP, EXP2, EXP10, LOG, LOG2, LOG10