RxMath is a Rexx utility package that enables you to use enhanced mathematical functions.
The function names in the Rexx Mathematical Functions package are similar to the names of their corresponding mathematical functions.
The precision of calculation depends on:
The value specified when the command is issued
The numeric digits settings of the calling Rexx activity
Note: Precision is limited to 16 digits.
The Rexx Mathematical Functions package is contained in the file rxmath.dll. This dynamic link library (DLL) must be placed in a directory listed in your PATH. To get access to the functions in the Rexx Mathematical Functions package, execute the following Rexx code:
call RxFuncAdd "MathLoadFuncs","rxmath","MathLoadFuncs" call MathLoadFuncs
To unload the DLL, call the MathDropFuncs function and then exit all CMD.EXE shells. After you have exited from all command shells, the DLL is dropped by Windows® and can be deleted or replaced.