HP 3000 Manuals

DSQRT (or DSQRT') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DSQRT (or DSQRT') 

DSQRT calculates the square root of a longreal number.

Declaration 

        FUNCTION DSQRT(VAR x:LONGREAL):LONGREAL; EXTERNAL;

Accuracy 

	       Click here to view figure.
Attributes 

Parameter:                A non-negative longreal number.

Result:                   A non-negative longreal number.

HP FORTRAN 77/XL:         Intrinsic function:  Y=DSQRT(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 "DSQRT(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