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. | |_______________________________________________________________________|