forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Absolute Value and Sign Transfer
                                             Up Contents Index Back
─────Absolute Value and Sign Transfer───────────────────────────────────────
 
     ABS, IABS, DABS, CABS, and CDABS return the absolute value of their
     arguments. For a complex number, the absolute value equals
 
     (real**2 + imag**2)**(1/2)
 
     For two arguments (genA, genB), the intrinsic functions SIGN, ISIGN,
     and DSIGN return |genA| if genB is greater than or equal to zero,
     and -|genA| if genB is less than zero.
                                    -♦-