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