HP 3000 Manuals

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


Compiler Library/XL Reference Manual

ISIGN (or ISIGN') 

ISIGN calculates the absolute value of a shortint number and gives the
number the sign of the second shortint number.

Declaration 

        FUNCTION ISIGN(j,k:SHORTINT):SHORTINT; EXTERNAL;

Attributes 

Parameters:               Both arguments are shortint numbers; if the
                          second number is zero, the sign is assumed to
                          be positive.

Result:                   An integer number.

HP FORTRAN 77/XL:         Intrinsic function:  L=ISIGN(J,K)

Error:                    None.



MPE/iX 5.0 Documentation