HP 3000 Manuals

DATAN2 [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DATAN2 

DATAN2 calculates the arctangent of the quotient of two longreal numbers.

Declaration 

        FUNCTION DATAN2(VAR x,y:LONGREAL):LONGREAL; EXTERNAL;

Accuracy 

[]
[]
Attributes Parameters: Longreal numbers; both must not be zero. Result: A representable longreal number in one of the following ranges:
[]
See Chapter 1 for details on the internal representation of longreal numbers. HP FORTRAN 77/XL: Intrinsic function: Z=DATAN2(X,Y) Error: If either of the arguments is a NaN or if both arguments are zero or infinity, there are two possible actions. If the INVALID trap is enabled, the message "DATAN2(X,Y): X=Y=0.0 OR X=Y=INFINITY OR ANY OF X AND Y=NaN" occurs. Otherwise, the INVALID flag is set. In either case, a quiet NaN is returned. See Appendix A for more details.


MPE/iX 5.0 Documentation