SIN (or SIN') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
SIN (or SIN')
SIN calculates the sine of a real number in radians.
Declaration
FUNCTION SIN(VAR x:REAL):REAL; EXTERNAL;
Accuracy
Attributes
Parameter: A real number in radians.
Result: A representable real number in the range [-1.0,
1.0]. See Chapter 1 for details on the
internal representation of real numbers.
HP FORTRAN 77/XL: Intrinsic function: Y=SIN(X).
Error: If the argument is a NaN or an Infinity, there
are two possible actions. If the INVALID trap
is enabled, the message "SIN(X): X=NaN OR
INFINITY" occurs. Otherwise, the INVALID flag
is set. In either case, a quiet NaN is
returned.
MPE/iX 5.0 Documentation