SQR real-valued function SQR real-valued function Syntax SQR (value) Function Return the square of the parameter. Parameter value Real-valued expression whose value is to be squared. Details This is a convenience function that computes the square of a value. That is, the result is equal to (value * value). Examples SQR(0.123) ;Returns 0.015129 SQR(4) ;Returns 16 SQR(-5.462) ;Returns 29.83344 SQR(1.3125E+2) ;Returns 17226.56 NOTE: TYPE, PROMPT, and similar instructions output the results of the above examples as single-precision values. However, they are actually stored and manipulated as double- precision values. The LISTR monitor command displays real values to full precision.
eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 496