[BACK]Return to standard_mathematical_functions.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Numbers

Annotation of OpenXM_contrib/PHC/Ada/Math_Lib/Numbers/standard_mathematical_functions.ads, Revision 1.1

1.1     ! maekawa     1: with Standard_Floating_Numbers;          use Standard_Floating_Numbers;
        !             2:
        !             3: package Standard_Mathematical_Functions is
        !             4:
        !             5: -- DESCRIPTION :
        !             6: --   This package provides some special mathematical functions to ensure
        !             7: --   a more portable version of the software.
        !             8:
        !             9: -- CONSTANT :
        !            10:
        !            11:   PI : constant :=  3.14159_26535_89793_23846_26433_83279_50288;
        !            12:
        !            13: -- EXPONENTIAL AND LOGARITHMIC FUNCTIONS :
        !            14:
        !            15:   function "**" ( x,y : double_float ) return double_float;
        !            16:
        !            17:   -- DESCRIPTION :
        !            18:   --   Returns x**y.
        !            19:
        !            20:   function LOG2 ( x : double_float ) return double_float;
        !            21:
        !            22:   -- DESCRIPTION :
        !            23:   --   Returns the binary logarithm.
        !            24:
        !            25:   function LOG10 ( x : double_float ) return double_float;
        !            26:
        !            27:   -- DESCRIPTION :
        !            28:   --   Returns the decimal logarithm.
        !            29:
        !            30:   function SQRT ( x : double_float ) return double_float;
        !            31:
        !            32:   -- DSECRIPTION :
        !            33:   --   Returns the square root of x.
        !            34:
        !            35: -- TRIGONOMETRIC FUNCTIONS :
        !            36:
        !            37:   function SIN ( x : double_float ) return double_float;
        !            38:   function COS ( x : double_float ) return double_float;
        !            39:   function TAN ( x : double_float ) return double_float;
        !            40:
        !            41:   -- DESCRIPTION :
        !            42:   --   Returns sine, cosine and tangens of x.
        !            43:
        !            44:   function ARCSIN ( x : double_float ) return double_float;
        !            45:   function ARCCOS ( x : double_float ) return double_float;
        !            46:   function ARCTAN ( x : double_float ) return double_float;
        !            47:
        !            48:   -- DESCRIPTION :
        !            49:   --   Returns arcsin, arccos and argtan of x.
        !            50:
        !            51:   function Radius ( x,y : double_float ) return double_float;
        !            52:   function Angle  ( x,y : double_float ) return double_float;
        !            53:
        !            54: end Standard_Mathematical_Functions;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>