home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Text_Autodocs / mathtrans.doc < prev    next >
Encoding:
Text File  |  1992-09-12  |  9.3 KB  |  612 lines

  1. TABLE OF CONTENTS
  2.  
  3. mathtrans.library/SPAcos
  4. mathtrans.library/SPAsin
  5. mathtrans.library/SPAtan
  6. mathtrans.library/SPCos
  7. mathtrans.library/SPCosh
  8. mathtrans.library/SPExp
  9. mathtrans.library/SPFieee
  10. mathtrans.library/SPLog
  11. mathtrans.library/SPLog10
  12. mathtrans.library/SPPow
  13. mathtrans.library/SPSin
  14. mathtrans.library/SPSincos
  15. mathtrans.library/SPSinh
  16. mathtrans.library/SPSqrt
  17. mathtrans.library/SPTan
  18. mathtrans.library/SPTanh
  19. mathtrans.library/SPTieee
  20.  
  21.  
  22. mathtrans.library/SPAcos                               mathtrans.library/SPAcos
  23.  
  24. NAME    
  25.  
  26.     SPAcos - obtain the arccosine of the floating point number
  27.  
  28. SYNOPSIS
  29.  
  30.     fnum2 = SPAcos(fnum1);
  31.                        d0.l
  32.     float fnum2;
  33.     float fnum1;
  34.  
  35. FUNCTION
  36.  
  37.     Accepts a floating point number representing the cosine
  38.     of an angle and returns the value of said angle in
  39.     radians
  40.  
  41. INPUTS
  42.  
  43.     fnum1 - Motorola fast floating point number
  44.  
  45. RESULT
  46.  
  47.     fnum2 - Motorola fast floating point number
  48.  
  49. BUGS
  50.  
  51.     None
  52.  
  53. SEE ALSO
  54.  
  55.     SPSin
  56.  
  57. mathtrans.library/SPAsin                               mathtrans.library/SPAsin
  58.  
  59. NAME    
  60.  
  61.     SPAsin - obtain the arcsine of the floating point number
  62.  
  63. SYNOPSIS
  64.  
  65.     fnum2 = SPAsin(fnum1);
  66.                        d0.l
  67.     float fnum2;
  68.     float fnum1;
  69.  
  70. FUNCTION
  71.  
  72.     Accepts a floating point number representing the sine
  73.     of an angle and returns the value of said angle in
  74.     radians
  75.  
  76. INPUTS
  77.  
  78.     fnum1 - Motorola fast floating point number
  79.  
  80. RESULT
  81.  
  82.     fnum2 - Motorola fast floating point number
  83.  
  84. BUGS
  85.  
  86.     None
  87.  
  88. SEE ALSO
  89.  
  90.     SPCos
  91.  
  92. mathtrans.library/SPAtan                               mathtrans.library/SPAtan
  93.  
  94. NAME    
  95.  
  96.     SPAtan - obtain the arctangent of the floating point number
  97.  
  98. SYNOPSIS
  99.  
  100.     fnum2 = SPAtan(fnum1);
  101.                        d0.l
  102.     float fnum2;
  103.     float fnum1;
  104.  
  105. FUNCTION
  106.  
  107.     Accepts a floating point number representing the tangent 
  108.     of an angle and returns the value of said angle in
  109.     radians
  110.  
  111. INPUTS
  112.  
  113.     fnum1 - Motorola fast floating point number
  114.  
  115. RESULT
  116.  
  117.     fnum2 - Motorola fast floating point number
  118.  
  119. BUGS
  120.  
  121.     None
  122.  
  123. SEE ALSO
  124.  
  125.     SPTan
  126.  
  127. mathtrans.library/SPCos                                 mathtrans.library/SPCos
  128.  
  129. NAME    
  130.  
  131.     SPCos - obtain the cosine of the floating point number
  132.  
  133. SYNOPSIS
  134.  
  135.     fnum2 = SPCos(fnum1);
  136.                        d0.l
  137.     float fnum2;
  138.     float fnum1;
  139.  
  140. FUNCTION
  141.  
  142.     Accepts a floating point number representing an angle
  143.     in radians and returns the cosine of said angle.
  144.  
  145. INPUTS
  146.  
  147.     fnum1 - Motorola fast floating point number
  148.  
  149. RESULT
  150.  
  151.     fnum2 - Motorola fast floating point number
  152.  
  153. BUGS
  154.  
  155.     None
  156.  
  157. SEE ALSO
  158.  
  159.     SPAcos
  160.  
  161. mathtrans.library/SPCosh                               mathtrans.library/SPCosh
  162.  
  163. NAME    
  164.  
  165.     SPCosh - obtain the hyperbolic cosine of the floating point number
  166.  
  167. SYNOPSIS
  168.  
  169.     fnum2 = SPCosh(fnum1);
  170.                        d0.l
  171.     float fnum2;
  172.     float fnum1;
  173.  
  174. FUNCTION
  175.  
  176.     Accepts a floating point number representing an angle
  177.     in radians and returns the hyperbolic cosine of said angle.
  178.  
  179. INPUTS
  180.  
  181.     fnum1 - Motorola fast floating point number
  182.  
  183. RESULT
  184.  
  185.     fnum2 - Motorola fast floating point number
  186.  
  187. BUGS
  188.  
  189.     None
  190.  
  191. SEE ALSO
  192.  
  193.     SPSinh
  194.  
  195. mathtrans.library/SPExp                                 mathtrans.library/SPExp
  196.  
  197. NAME    
  198.  
  199.     SPExp - obtain the exponential (e**X) of the floating point number
  200.  
  201. SYNOPSIS
  202.  
  203.     fnum2 = SPExp(fnum1);
  204.                       d0.l
  205.     float fnum2;
  206.     float fnum1;
  207.  
  208. FUNCTION
  209.  
  210.     Accepts a floating point number and returns the value
  211.     of e raised to the fnum1 power
  212.  
  213. INPUTS
  214.  
  215.     fnum1 - Motorola fast floating point number
  216.  
  217. RESULT
  218.  
  219.     fnum2 - Motorola fast floating point number
  220.  
  221. BUGS
  222.  
  223.     None
  224.  
  225. SEE ALSO
  226.  
  227.     SPLog
  228.  
  229. mathtrans.library/SPFieee                             mathtrans.library/SPFieee
  230.  
  231. NAME    
  232.  
  233.     SPFieee - convert single precision ieee to FFP number
  234.  
  235. SYNOPSIS
  236.  
  237.     fnum = SPFieee(ieeenum);
  238.                        d0.l
  239.     float fnum;
  240.     float ieeenum;
  241.  
  242. FUNCTION
  243.  
  244.     Accepts a standard single precision format
  245.     returns the same number, converted to Motorola
  246.     fast floating point number
  247.  
  248. INPUTS
  249.  
  250.     ieeenum - IEEE Single Precision Floating Point
  251.  
  252. RESULT
  253.  
  254.     fnum - Motorola fast floating point number
  255.  
  256. BUGS
  257.  
  258.     None
  259.  
  260. SEE ALSO
  261.  
  262.     SPTieee
  263.  
  264. mathtrans.library/SPLog                                 mathtrans.library/SPLog
  265.  
  266. NAME    
  267.  
  268.     SPLog - obtain the natural logarithm of the floating point number
  269.  
  270. SYNOPSIS
  271.  
  272.     fnum2 = SPLog(fnum1);
  273.                       d0.l
  274.     float fnum2;
  275.     float fnum1;
  276.  
  277. FUNCTION
  278.  
  279.     Accepts a floating point number and returns the natural
  280.     logarithem (base e) of said number
  281.  
  282. INPUTS
  283.  
  284.     fnum1 - Motorola fast floating point number
  285.  
  286. RESULT
  287.  
  288.     fnum2 - Motorola fast floating point number
  289.  
  290. BUGS
  291.  
  292.     None
  293.  
  294. SEE ALSO
  295.  
  296.     SPExp
  297.  
  298. mathtrans.library/SPLog10                             mathtrans.library/SPLog10
  299.  
  300. NAME    
  301.  
  302.     SPLog10 - obtain the naperian logarithm(base 10) of the
  303.           floating point number
  304.  
  305. SYNOPSIS
  306.  
  307.     fnum2 = SPLog10(fnum1);
  308.                         d0.l
  309.     float fnum2;
  310.     float fnum1;
  311.  
  312. FUNCTION
  313.  
  314.     Accepts a floating point number and returns the naperian
  315.     logarithm (base 10) of said number
  316.  
  317. INPUTS
  318.  
  319.     fnum1 - Motorola fast floating point number
  320.  
  321. RESULT
  322.  
  323.     fnum2 - Motorola fast floating point number
  324.  
  325. BUGS
  326.  
  327.     None
  328.  
  329. SEE ALSO
  330.  
  331.     SPExp, SpLog
  332.  
  333. mathtrans.library/SPPow                                 mathtrans.library/SPPow
  334.  
  335. NAME    
  336.  
  337.     SPPow - raise a number to a power
  338.  
  339. SYNOPSIS
  340.  
  341.     result = SPPow(fnum1, fnum2);
  342.                       d1.l    d0.l
  343.     float fnum1, fnum2;
  344.     float result;
  345.  
  346. FUNCTION
  347.  
  348.     Accepts two floating point numbers and returns the 
  349.     result of fnum2 raised to the fnum1 power
  350.  
  351. INPUTS
  352.  
  353.     fnum1 - Motorola fast floating point number
  354.     fnum2 - Motorola fast floating point number
  355.  
  356. RESULT
  357.  
  358.     result - Motorola fast floating point number
  359.  
  360. BUGS
  361.  
  362.     None
  363.  
  364. SEE ALSO
  365.  
  366.     SPExp, SPLog
  367.  
  368. mathtrans.library/SPSin                                 mathtrans.library/SPSin
  369.  
  370. NAME    
  371.  
  372.     SPSin - obtain the sine of the floating point number
  373.  
  374. SYNOPSIS
  375.  
  376.     fnum2 = SPSin(fnum1);
  377.                        d0.l
  378.     float fnum2;
  379.     float fnum1;
  380.  
  381. FUNCTION
  382.  
  383.     Accepts a floating point number representing an angle
  384.     in radians and returns the sine of said angle.
  385.  
  386. INPUTS
  387.  
  388.     fnum1 - Motorola fast floating point number
  389.  
  390. RESULT
  391.  
  392.     fnum2 - Motorola fast floating point number
  393.  
  394. BUGS
  395.  
  396.     None
  397.  
  398. SEE ALSO
  399.  
  400.     SPAsin
  401.  
  402. mathtrans.library/SPSincos                           mathtrans.library/SPSincos
  403.  
  404. NAME    
  405.  
  406.     SPSincos - obtain the sine and cosine of a number
  407.  
  408. SYNOPSIS
  409.  
  410.     fnum3 = SPSincos(pfnum2, fnum1);
  411.                          d1.l,   d0.l
  412.     float *pfnum2;
  413.     float fnum1;
  414.     float fnum3;
  415.  
  416. FUNCTION
  417.  
  418.     Accepts a floating point number (fnum1) representing
  419.     an angle in radians and a pointer to another floating
  420.     point number (pfnum2). It computes the cosine and places it in
  421.     *pfnum2. It computes the sine and returns it as a result.
  422.  
  423. INPUTS
  424.  
  425.     fnum1 - Motorola fast floating point number
  426.     pfnum2 - pointer to Motorola fast floating point number
  427.  
  428. RESULT
  429.  
  430.     *pfnum2 - Motorola fast floating point number (cosine)
  431.     fnum3 - Motorola fast floating point number (sine)
  432.  
  433. BUGS
  434.  
  435.     None
  436.  
  437. SEE ALSO
  438.  
  439.     SPSin, SPCos
  440.  
  441. mathtrans.library/SPSinh                               mathtrans.library/SPSinh
  442.  
  443. NAME    
  444.  
  445.     SPSinh - obtain the hyperbolic sine of the floating point number
  446.  
  447. SYNOPSIS
  448.  
  449.     fnum2 = SPSinh(fnum1);
  450.                        d0.l
  451.     float fnum2;
  452.     float fnum1;
  453.  
  454. FUNCTION
  455.  
  456.     Accepts a floating point number representing an angle
  457.     in radians and returns the hyperbolic sine of said angle.
  458.  
  459. INPUTS
  460.  
  461.     fnum1 - Motorola fast floating point number
  462.  
  463. RESULT
  464.  
  465.     fnum2 - Motorola fast floating point number
  466.  
  467. BUGS
  468.  
  469.     None
  470.  
  471. SEE ALSO
  472.  
  473.     SPCosh
  474.  
  475. mathtrans.library/SPSqrt                               mathtrans.library/SPSqrt
  476.  
  477. NAME    
  478.  
  479.     SPSqrt - obtain the square root of the floating point number
  480.  
  481. SYNOPSIS
  482.  
  483.     fnum2 = SPSqrt(fnum1);
  484.                       d0.l
  485.     float fnum2;
  486.     float fnum1;
  487.  
  488. FUNCTION
  489.  
  490.     Accepts a floating point number and returns the square toot
  491.     of said number
  492.  
  493. INPUTS
  494.  
  495.     fnum1 - Motorola fast floating point number
  496.  
  497. RESULT
  498.  
  499.     fnum2 - Motorola fast floating point number
  500.  
  501. BUGS
  502.  
  503.     None
  504.  
  505. SEE ALSO
  506.  
  507.     SPPow, SPMul
  508.  
  509. mathtrans.library/SPTan                                 mathtrans.library/SPTan
  510.  
  511. NAME    
  512.  
  513.     SPTan - obtain the tangent of the floating point number
  514.  
  515. SYNOPSIS
  516.  
  517.     fnum2 = SPTan(fnum1);
  518.                        d0.l
  519.     float fnum2;
  520.     float fnum1;
  521.  
  522. FUNCTION
  523.  
  524.     Accepts a floating point number representing an angle
  525.     in radians and returns the tangent of said angle.
  526.  
  527. INPUTS
  528.  
  529.     fnum1 - Motorola fast floating point number
  530.  
  531. RESULT
  532.  
  533.     fnum2 - Motorola fast floating point number
  534.  
  535. BUGS
  536.  
  537.     None
  538.  
  539. SEE ALSO
  540.  
  541.     SPAtan
  542.  
  543. mathtrans.library/SPTanh                               mathtrans.library/SPTanh
  544.  
  545. NAME    
  546.  
  547.     SPTanh - obtain the hyperbolic tangent of the floating point number
  548.  
  549. SYNOPSIS
  550.  
  551.     fnum2 = SPTanh(fnum1);
  552.                        d0.l
  553.     float fnum2;
  554.     float fnum1;
  555.  
  556. FUNCTION
  557.  
  558.     Accepts a floating point number representing an angle
  559.     in radians and returns the hyperbolic tangent of said angle.
  560.  
  561. INPUTS
  562.  
  563.     fnum1 - Motorola fast floating point number
  564.  
  565. RESULT
  566.  
  567.     fnum2 - Motorola fast floating point number
  568.  
  569. BUGS
  570.  
  571.     None
  572.  
  573. SEE ALSO
  574.  
  575.     SPSinh, SPCosh
  576.  
  577. mathtrans.library/SPTieee                             mathtrans.library/SPTieee
  578.  
  579. NAME    
  580.  
  581.     SPTieee - convert FFP number to single precision ieee
  582.  
  583. SYNOPSIS
  584.  
  585.     ieeenum = SPTieee(fnum);
  586.                          d0.l
  587.     float ieeenum;
  588.     float fnum;
  589.  
  590. FUNCTION
  591.  
  592.        Accepts a Motorola fast floating point number and
  593.        returns the same number, converted into IEEE
  594.        standard single precision format
  595.  
  596. INPUTS
  597.  
  598.     fnum - Motorola fast floating point number
  599.  
  600. RESULT
  601.  
  602.     ieeenum - IEEE Single Precision Floating Point
  603.  
  604. BUGS
  605.  
  606.     None
  607.  
  608. SEE ALSO
  609.  
  610.     SPFieee
  611.  
  612.