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