SQRT (or SQRT') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
SQRT (or SQRT')
SQRT calculates the square root of a real number.
Declaration
FUNCTION SQRT(VAR x:REAL):REAL; EXTERNAL;
Accuracy
Attributes
Parameter: A non-negative real number.
Result: A non-negative real number.
HP FORTRAN 77/XL: Intrinsic function: Y=SQRT(X).
Error: If the argument is a NaN or if it is negative,
there are two possible actions. If the INVALID
trap is enabled, the message "SQRT(X): X<0.0 OR
X=NaN" occurs. Otherwise, the INVALID flag is
set. In either case, a quiet NaN is returned.
MPE/iX 5.0 Documentation