HP 3000 Manuals

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


Compiler Library/XL Reference Manual

JSIGN (or JSIGN') 

JSIGN calculates the absolute value of the first integer number and gives
the number the sign of the second integer number.

Declaration 

        FUNCTION JSIGN(j,k:INTEGER):INTEGER; EXTERNAL;

Attributes 

Parameters:               Both arguments are integer 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=JSIGN(J,K).

Error:                    None.



MPE/iX 5.0 Documentation