SIGN(3F) COMMAND REFERENCE SIGN(3F) NAME sign, isign, dsign - FORTRAN transfer-of-sign intrinsic function SYNOPSIS integer i, j, k real r1, r2, r3 double precision dp1, dp2, dp3 k = isign(i, j) k = sign(i, j) r3 = sign(r1, r2) dp3 = dsign(dp1, dp2) dp3 = sign(dp1, dp2) DESCRIPTION Isign returns the magnitude of its first argument with the sign of its second argument. Sign and dsign are its real and double-precision counterparts, respectively. The generic version is sign and will devolve to the appropriate type depending on its arguments. When using sign, it is required that the both arguments be of the same type. SEE ALSO intro(3f). Printed 3/13/89 1
%%index%% na:264,121; sy:385,1508; de:1893,715; se:2608,134; %%index%%000000000084