ieeedpasin() double ieeedpasin( double parm ); Return arcsine of IEEE variable. ieeedpacos() double ieeedpacos( double parm ); Return arccosine of IEEE variable. ieeedpatan() double ieeedpatan( double parm ); Return arctangent of IEEE variable. ieeedpsin() double ieeedpsin( double parm ); Return sine of IEEE variable. This function accepts an IEEE radian argument and returns the trigonometric sine value. ieeedpcos() double ieeedpcos( double parm ); Return cosine of IEEE variable. This function accepts an IEEE radian argument and returns the trigonometric cosine value. ieeedptan() double ieeedptan( double parm ); Return tangent of IEEE variable. This function accepts an IEEE radian argument and returns the trigonometric tangent value. ieeedpsincos() double ieeedpsincos( double *pf2, double parm ); Return sine and cosine of IEEE variable. This function accepts an IEEE radian argument and returns the trigonometric sine as its result and the trigonometric cosine in the first parameter. ieeedpsinh() double ieeedpsinh( double parm ); Return hyperbolic sine of IEEE variable. ieeedpcosh() double ieeedpcosh( double parm ); Return hyperbolic cosine of IEEE variable. ieeedptanh() double ieeedptanh( double parm ); Return hyperbolic tangent of IEEE variable. ieeedpexp() double ieeedpexp( double parm ); Return e to the IEEE variable power. This function accept an IEEE argument and returns the result representing the value of e (2.712828...) raised to that power. ieeedpfieee() double ieeedpfieee( float single ); Convert IEEE single-precision number to IEEE double-precision number. ieeedplog() double ieeedplog( double parm ); Return natural log (base e of IEEE variable. ieeedplog10() double ieeedplog10( double parm ); Return log (base 10) of IEEE variable. ieeedppow() double ieeedppow( double exp, double arg ); Return IEEE arg2 to IEEE arg1. ieeedpsqrt() double ieeedpsqrt( double parm ); Return square root of IEEE variable. ieeedptieee() float ieeedptieee( double parm ); Convert IEEE double-precision number to IEEE single-precision number. Be sure to include proper data type definitions as shown below. mathieeedoubtrans.c The section below describes the Amiga assembly interface to the IEEE double-precision transcendental math library. The access mechanism from assembly language is: MOVEA.L _MathIeeeDoubTransBase,A6 JSR _LVOIEEEDPAsin(A6) _______________________________________________________________________ | | | DP IEEE Transcendental Assembly Functions | | | | Function Input Output Condition Codes | |_______________________________________________________________________| | | | | | | _LVOIEEEDPAsin | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | arcsine radian | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPAcos | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | arccosine radian | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPAtan | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | arctangent radian | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPSin | D0/D1=IEEE arg | D0/D1=IEEE sine | N=undefined | | | in radians | | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPCos | D0/D1=IEEE arg | D0/D1=IEEE cosine | N=undefined | | | in radians | | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPTan | D0/D1=IEEE arg | D0/D1=IEEE tangent | N=undefined | | | in radians | | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPSincos | A0=Address to | D0/D1=IEEE sine | N=undefined | | | store cosine | (A0)=IEEE cosine | Z=undefined | | | result | | V=undefined | | | D0/D1=IEEE arg | | C=undefined | | | in radians | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPSin | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | in radians | hyperbolic sine | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPCosh | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | in radians | hyperbolic cosine | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPTanh | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | in radians | hyperbolic tangent | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPExp | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | exponential | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPLog | D0/D1=IEEE arg | D0/D1=IEEE natural | N=undefined | | | | logarithm | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPLog10 | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | logarithm | Z=undefined | | | | (base 10) | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPPow | D0/D1=IEEE exp | D0/D1=IEEE | N=undefined | | | D2/D3=IEEE arg | of arg taken to | Z=undefined | | | | exp power | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPSqrt | D0/D1=IEEE arg | D0/D1=IEEE | N=undefined | | | | square root | Z=undefined | | | | | V=undefined | | | | | C=undefined | | | | | X=undefined | |------------------|----------------|---------------------|-------------| | _LVOIEEEDPTieee | D0/D1=IEEE arg | D0=single-precision | N=undefined | | | | IEEE floating-point | Z=undefined | | | | format | V=undefined | | | | | C=undefined | | | | | X=undefined | |__________________|________________|_____________________|_____________|