Here's a brief summary of the functions covered in this chapter. Refer to the Amiga ROM Kernel Reference Manual: Includes and Autodocs for additional information. _______________________________________________________________________ | | | FFP Basic Functions | |=======================================================================| | SPAbs() Take absolute value of FFP variable | | SPAdd() Add two FFP variables | | SPCeil() Compute least integer greater than or equal to variable. | | SPCmp() Compare two FFP variables | | SPDiv() Divide two FFP variables | | SPFix() Convert FFP variable to integer | | SPFloor() Computer largest integer less than or equal to variable. | | SPFlt() Convert integer variable to FFP | | SPMul() Multiply two FFP variables | | SPNeg() Take two's complement of FFP variable | | SPSub() Subtract two FFP variables | | SPTst() Test an FFP variable against zero | |_______________________________________________________________________| _______________________________________________________________________ | | | FFP Transcendental Functions | |=======================================================================| | SPAcos() Return arccosine of FFP variable. | | SPAsin() Return arcsine of FFP variable. | | SPAtan() Return arctangent of FFP variable. | | SPCos() Return cosine of FFP variable. | | SPCosh() Return hyperbolic cosine of FFP variable. | | SPExp() Return e to the FFP variable power. | | SPFieee() Convert IEEE variable to FFP format. | | SPLog() Return natural log (base e) of FFP variable. | | SPLog10() Return log (base 10) of FFP variable. | | SPPow() Return FFP arg2 to FFP arg1. | | SPSin() Return sine of FFP variable. | | SPSincos() Return sine and cosine of FFP variable. | | SPSinh() Return hyperbolic sine of FFP variable. | | SPSqrt() Return square root of FFP variable. | | SPTan() Return tangent of FFP variable. | | SPTanh() Return hyperbolic tangent of FFP variable. | | SPTieee() Convert FFP variable to IEEE format | |_______________________________________________________________________| _______________________________________________________________________ | | | Math Support Functions | |=======================================================================| | afp() Convert ASCII string into FFP equivalent. | | fpa() Convert FFP variable into ASCII equivalent. | | arnd() Round ASCII representation of FFP number. | | dbf() Convert FFP dual-binary number to FFP equivalent. | |_______________________________________________________________________| _______________________________________________________________________ | | | SP IEEE Basic Functions (V36) | |=======================================================================| | IEEESPAbs() Take absolute value of IEEE single-precision variable. | | IEEESPAdd() Add two IEEE single-precision variables. | | IEEESPCeil() Compute least integer greater than or equal to | | variable. | | IEEESPCmp() Compare two IEEE single-precision variables. | | IEEESPDiv() Divide two IEEE single-precision variables. | | IEEESPFix() Convert IEEE single-precision variable to integer. | | IEEESPFloor() Compute largest integer less than or equal to | | variable. | | IEEESPFlt() Convert integer variable to IEEE single-precision. | | IEEESPMul() Multiply two IEEE single-precision variables. | | IEEESPNeg() Take two's complement of IEEE single-precision | | variable. | | IEEESPSub() Subtract two IEEE single-precision variables. | | IEEESPTst() Test an IEEE single-precision variable against zero. | |_______________________________________________________________________| _______________________________________________________________________ | | | SP IEEE Transcendental Functions (V36) | |=======================================================================| | IEEESPACos() Return arccosine of IEEE single-precision variable. | | IEEESPASin() Return arcsine of IEEE single-precision variable. | | IEEESPAtan() Return arctangent of IEEE single-precision variable. | | IEEESPCos() Return cosine of IEEE single-precision variable. | | IEEESPCosh() Return hyperbolic cosine of IEEE single-precision | | variable. | | IEEESPExp() Return e to the IEEE variable power. | | IEEESPLog() Return natural log (base e of IEEE single-precision | | variable. | | IEEESPLog10() Return log (base 10) of IEEE single-precision | | variable. | | IEEESPPow() Return power of IEEE single-precision variable. | | IEEESPSin() Return sine of IEEE single-precision variable. | | IEEESPSincos() Return sine and cosine of IEEE single-precision | | variable. | | IEEESPSinh() Return hyperbolic sine of IEEE single-precision | | variable. | | IEEESPSqrt() Return square root of IEEE single-precision variable. | | IEEESPTan() Return tangent of IEEE single-precision variable. | | IEEESPTanh() Return hyperbolic tangent of IEEE single-precision | | variable. | |_______________________________________________________________________| _______________________________________________________________________ | | | DP IEEE Basic Functions | |=======================================================================| | IEEEDPAbs() Take absolute value of IEEE double-precision variable. | | IEEEDPAdd() Add two IEEE double-precision variables. | | IEEEDPCeil() Compute least integer greater than or equal to | | variable. | | IEEEDPCmp() Compare two IEEE double-precision variables. | | IEEEDPDiv() Divide two IEEE double-precision variables. | | IEEEDPFix() Convert IEEE double-precision variable to integer. | | IEEEDPFloor() Compute largest integer less than or equal to | | variable. | | IEEEDPFlt() Convert integer variable to IEEE double-precision. | | IEEEDPMul() Multiply two IEEE double-precision variables. | | IEEEDPNeg() Take two's complement of IEEE double-precision | | variable. | | IEEEDPSub() Subtract two IEEE single-precision variables. | | IEEEDPTst() Test an IEEE double-precision variable against zero. | |_______________________________________________________________________| _______________________________________________________________________ | | | DP IEEE Transcendental Functions | |=======================================================================| | IEEEDPACos() Return arccosine of IEEE double-precision variable. | | IEEEDPASin() Return arcsine of IEEE double-precision variable. | | IEEEDPAtan() Return arctangent of IEEE double-precision variable. | | IEEEDPCos() Return cosine of IEEE double-precision variable. | | IEEEDPCosh() Return hyperbolic cosine of IEEE double-precision | | variable. | | IEEEDPExp() Return e to the IEEE variable power. | | IEEEDPFieee() Convert IEEE single-precision number to IEEE | | double-precision number. | | IEEEDPLog() Return natural log (base e of IEEE double-precision | | variable. | | IEEEDPLog10() Return log (base 10) of IEEE double-precision | | variable. | | IEEEDPPow() Return power of IEEE double-precision variable. | | IEEEDPSin() Return sine of IEEE double-precision variable. | | IEEEDPSincos() Return sine and cosine of IEEE double-precision | | variable. | | IEEEDPSinh() Return hyperbolic sine of IEEE double-precision | | variable. | | IEEEDPSqrt() Return square root of IEEE double-precision variable. | | IEEEDPTan() Return tangent of IEEE double-precision variable. | | IEEEDPTanh() Return hyperbolic tangent of IEEE double-precision | | variable. | | IEEEDPTieee() Convert IEEE double-precision number to IEEE | | single-precision number. | |_______________________________________________________________________|