home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / text_autodocs / mathieeedoubbas.doc < prev    next >
Text File  |  1992-09-01  |  7KB  |  325 lines

  1. TABLE OF CONTENTS
  2.  
  3. mathieeedoubbas.library/IEEEDPAbs
  4. mathieeedoubbas.library/IEEEDPAdd
  5. mathieeedoubbas.library/IEEEDPCeil
  6. mathieeedoubbas.library/IEEEDPCmp
  7. mathieeedoubbas.library/IEEEDPDiv
  8. mathieeedoubbas.library/IEEEDPFix
  9. mathieeedoubbas.library/IEEEDPFloor
  10. mathieeedoubbas.library/IEEEDPFlt
  11. mathieeedoubbas.library/IEEEDPMul
  12. mathieeedoubbas.library/IEEEDPNeg
  13. mathieeedoubbas.library/IEEEDPSub
  14. mathieeedoubbas.library/IEEEDPTst
  15. mathieeedoubbas.library/IEEEDPAbs           mathieeedoubbas.library/IEEEDPAbs
  16.  
  17.    NAME
  18.     IEEEDPAbs -- compute absolute value of IEEE double precision argument
  19.  
  20.    SYNOPSIS
  21.       x   = IEEEDPAbs(  y  );
  22.     d0/d1          d0/d1
  23.  
  24.     double    x,y;
  25.  
  26.    FUNCTION
  27.     Take the absolute value of argument y and return it to caller.
  28.  
  29.    INPUTS
  30.     y -- IEEE double precision floating point value
  31.  
  32.    RESULT
  33.     x -- IEEE double precision floating point value
  34.  
  35.    BUGS
  36.  
  37.    SEE ALSO
  38. mathieeedoubbas.library/IEEEDPAdd           mathieeedoubbas.library/IEEEDPAdd
  39.  
  40.    NAME
  41.     IEEEDPAdd -- add one double precision IEEE number to another
  42.  
  43.    SYNOPSIS
  44.       x   = IEEEDPAdd(  y  ,  z  );
  45.     d0/d1          d0/d1 d2/d3
  46.  
  47.     double    x,y,z;
  48.  
  49.    FUNCTION
  50.     Compute x = y + z in IEEE double precision.
  51.  
  52.    INPUTS
  53.     y -- IEEE double precision floating point value
  54.     z -- IEEE double precision floating point value
  55.  
  56.    RESULT
  57.     x -- IEEE double precision floating point value
  58.  
  59.    BUGS
  60.  
  61.    SEE ALSO
  62.     IEEEDPSub
  63. mathieeedoubbas.library/IEEEDPCeil         mathieeedoubbas.library/IEEEDPCeil
  64.  
  65.    NAME
  66.     IEEEDPCeil -- compute Ceil function of IEEE double precision number
  67.  
  68.    SYNOPSIS
  69.       x   = IEEEDPCeil(  y  );
  70.     d0/d1           d0/d1
  71.  
  72.     double    x,y;
  73.  
  74.    FUNCTION
  75.     Calculate the least integer greater than or equal to x and return it.
  76.     This value may have more than 32 bits of significance.
  77.     This identity is true.  Ceil(x) = -Floor(-x).
  78.  
  79.    INPUTS
  80.     y -- IEEE double precision floating point value
  81.  
  82.    RESULT
  83.     x -- IEEE double precision floating point value
  84.  
  85.    BUGS
  86.  
  87.    SEE ALSO
  88.     IEEEDPFloor
  89. mathieeedoubbas.library/IEEEDPCmp           mathieeedoubbas.library/IEEEDPCmp
  90.  
  91.    NAME
  92.     IEEEDPCmp -- compare two double precision floating point numbers
  93.  
  94.    SYNOPSIS
  95.       c   = IEEEDPCmp(  y  ,  z  );
  96.       d0          d0/d1 d2/d3
  97.  
  98.     double    y,z;
  99.     long    c;
  100.  
  101.    FUNCTION
  102.     Compare y with z. Set the condition codes for less, greater, or
  103.     equal. Set return value c to -1 if y<z, or +1 if y>z, or 0 if
  104.     y == z.
  105.  
  106.    INPUTS
  107.     y -- IEEE double precision floating point value
  108.     z -- IEEE double precision floating point value
  109.  
  110.    RESULT
  111.        c = 1   cc = gt         for (y > z)
  112.        c = 0   cc = eq         for (y == z)
  113.        c = -1  cc = lt         for (y < z)
  114.  
  115.    BUGS
  116.  
  117.    SEE ALSO
  118. mathieeedoubbas.library/IEEEDPDiv           mathieeedoubbas.library/IEEEDPDiv
  119.  
  120.    NAME
  121.     IEEEDPDiv -- divide one double precision IEEE by another
  122.  
  123.    SYNOPSIS
  124.       x   = IEEEDPDiv(  y  ,  z  );
  125.     d0/d1          d0/d1 d2/d3
  126.  
  127.     double    x,y,z;
  128.  
  129.    FUNCTION
  130.     Compute x = y / z in IEEE double precision.
  131.  
  132.    INPUTS
  133.     y -- IEEE double precision floating point value
  134.     z -- IEEE double precision floating point value
  135.  
  136.    RESULT
  137.     x -- IEEE double precision floating point value
  138.  
  139.    BUGS
  140.  
  141.    SEE ALSO
  142.     IEEEDPMul
  143. mathieeedoubbas.library/IEEEDPFix           mathieeedoubbas.library/IEEEDPFix
  144.  
  145.    NAME
  146.     IEEEDPFix -- convert IEEE double float to integer
  147.  
  148.    SYNOPSIS
  149.     x   = IEEEDPFix(  y  );
  150.     d0        d0/d1
  151.  
  152.     long    x;
  153.     double    y;
  154.  
  155.    FUNCTION
  156.     Convert IEEE double precision argument to a 32 bit signed integer
  157.     and return result.
  158.  
  159.    INPUTS
  160.     y -- IEEE double precision floating point value
  161.  
  162.    RESULT
  163.     if no overflow occured then return
  164.         x -- 32 bit signed integer
  165.     if overflow return largest +- integer
  166.         For round to zero
  167.  
  168.    BUGS
  169.  
  170.    SEE ALSO
  171.     IEEEDPFlt
  172. mathieeedoubbas.library/IEEEDPFloor       mathieeedoubbas.library/IEEEDPFloor
  173.  
  174.    NAME
  175.     IEEEDPFloor -- compute Floor function of IEEE double precision number
  176.  
  177.    SYNOPSIS
  178.       x   = IEEEDPFloor(  y  );
  179.     d0/d1            d0/d1
  180.  
  181.     double    x,y;
  182.  
  183.    FUNCTION
  184.     Calculate the largest integer less than or equal to x and return it.
  185.     This value may have more than 32 bits of significance.
  186.  
  187.    INPUTS
  188.     y -- IEEE double precision floating point value
  189.  
  190.    RESULT
  191.     x -- IEEE double precision floating point value
  192.  
  193.    BUGS
  194.  
  195.    SEE ALSO
  196.     IEEEDPCeil
  197. mathieeedoubbas.library/IEEEDPFlt           mathieeedoubbas.library/IEEEDPFlt
  198.  
  199.    NAME
  200.     IEEEDPFlt -- convert integer to IEEE double precision number
  201.  
  202.    SYNOPSIS
  203.       x   = IEEEDPFlt(  y  );
  204.     d0/d1           d0
  205.  
  206.     double    x;
  207.     long    y;
  208.  
  209.    FUNCTION
  210.     Convert a signed 32 bit value to a double precision IEEE value
  211.     and return it in d0/d1. No exceptions can occur with this
  212.     function.
  213.  
  214.    INPUTS
  215.     y -- 32 bit integer in d0
  216.  
  217.    RESULT
  218.     x is a 64 bit double precision IEEE value
  219.  
  220.    BUGS
  221.  
  222.    SEE ALSO
  223.     IEEEDPFix
  224. mathieeedoubbas.library/IEEEDPMul           mathieeedoubbas.library/IEEEDPMul
  225.  
  226.    NAME
  227.     IEEEDPMul -- multiply one double precision IEEE number by another
  228.  
  229.    SYNOPSIS
  230.       x   = IEEEDPMul(  y  ,  z  );
  231.     d0/d1          d0/d1 d2/d3
  232.  
  233.     double    x,y,z;
  234.  
  235.    FUNCTION
  236.     Compute x = y * z in IEEE double precision.
  237.  
  238.    INPUTS
  239.     y -- IEEE double precision floating point value
  240.     z -- IEEE double precision floating point value
  241.  
  242.    RESULT
  243.     x -- IEEE double precision floating point value
  244.  
  245.    BUGS
  246.  
  247.    SEE ALSO
  248.     IEEEDPDiv
  249. mathieeedoubbas.library/IEEEDPNeg           mathieeedoubbas.library/IEEEDPNeg
  250.  
  251.    NAME
  252.     IEEEDPNeg -- compute negative value of IEEE double precision number
  253.  
  254.    SYNOPSIS
  255.       x   = IEEEDPNeg(  y  );
  256.     d0/d1          d0/d1
  257.  
  258.     double    x,y;
  259.  
  260.    FUNCTION
  261.     Invert the sign of argument y and return it to caller.
  262.  
  263.    INPUTS
  264.     y - IEEE double precision floating point value
  265.  
  266.    RESULT
  267.     x - IEEE double precision floating point value
  268.  
  269.    BUGS
  270.  
  271.    SEE ALSO
  272. mathieeedoubbas.library/IEEEDPSub           mathieeedoubbas.library/IEEEDPSub
  273.  
  274.    NAME
  275.     IEEEDPSub -- subtract one double precision IEEE number from another
  276.  
  277.    SYNOPSIS
  278.       x   = IEEEDPSub(  y  ,  z  );
  279.     d0/d1          d0/d1 d2/d3
  280.  
  281.     double    x,y,z;
  282.  
  283.    FUNCTION
  284.     Compute x = y - z in IEEE double precision.
  285.  
  286.    INPUTS
  287.     y -- IEEE double precision floating point value
  288.     z -- IEEE double precision floating point value
  289.  
  290.    RESULT
  291.     x -- IEEE double precision floating point value
  292.  
  293.    BUGS
  294.  
  295.    SEE ALSO
  296.     IEEEDPAdd
  297. mathieeedoubbas.library/IEEEDPTst           mathieeedoubbas.library/IEEEDPTst
  298.  
  299.    NAME
  300.     IEEEDPTst -- compare IEEE double precision value to 0.0
  301.  
  302.    SYNOPSIS
  303.       c   = IEEEDPTst(  y  );
  304.       d0          d0/d1
  305.  
  306.     double    y;
  307.     long    c;
  308.  
  309.    FUNCTION
  310.     Compare y to 0.0, set the condition codes for less than, greater
  311.     than, or equal to 0.0.  Set the return value c to -1 if less than,
  312.     to +1 if greater than, or 0 if equal to 0.0.
  313.  
  314.    INPUTS
  315.     y -- IEEE double precision floating point value
  316.  
  317.    RESULT
  318.     c = 1    cc = gt        for (y > 0.0)
  319.     c = 0    cc = eq        for (y == 0.0)
  320.     c = -1  cc = lt        for (y < 0.0)
  321.  
  322.    BUGS
  323.  
  324.    SEE ALSO
  325.