File : a-nllefu-ada.ads


   1 ------------------------------------------------------------------------------
   2 --                                                                          --
   3 --                         GNAT RUNTIME COMPONENTS                          --
   4 --                                                                          --
   5 --               ADA.NUMERICS.LONG_LONG_ELEMENTARY_FUNCTIONS                --
   6 --                                                                          --
   7 --                                 S p e c                                  --
   8 --                                                                          --
   9 --          Copyright (C) 1992-2015, Free Software Foundation, Inc.         --
  10 --                                                                          --
  11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  12 -- terms of the  GNU General Public License as published  by the Free Soft- --
  13 -- ware  Foundation;  either version 3,  or (at your option) any later ver- --
  14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  16 -- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
  17 --                                                                          --
  18 --                                                                          --
  19 --                                                                          --
  20 --                                                                          --
  21 --                                                                          --
  22 -- You should have received a copy of the GNU General Public License and    --
  23 -- a copy of the GCC Runtime Library Exception along with this program;     --
  24 -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
  25 -- <http://www.gnu.org/licenses/>.                                          --
  26 --                                                                          --
  27 -- GNAT was originally developed  by the GNAT team at  New York University. --
  28 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
  29 --                                                                          --
  30 ------------------------------------------------------------------------------
  31 
  32 --  @llrset a-nllefu.ads
  33 --  Long_Long_Elementary_Functions
  34 --  ==============================
  35 --
  36 --  This is the Ada Cert Math specific version of a-nllefu.ads.
  37 
  38 with System.Generic_C_Math_Interface;
  39 with System.Libm_Long_Double;
  40 
  41 package Ada.Numerics.Long_Long_Elementary_Functions is
  42   new System.Generic_C_Math_Interface
  43         (Float_Type => Long_Long_Float,
  44          C_Sqrt  => System.Libm_Long_Double.Sqrt,
  45          C_Log   => System.Libm_Long_Double.Log,
  46          C_Exp   => System.Libm_Long_Double.Exp,
  47          C_Pow   => System.Libm_Long_Double.Pow,
  48 
  49          C_Sin   => System.Libm_Long_Double.Sin,
  50          C_Cos   => System.Libm_Long_Double.Cos,
  51          C_Tan   => System.Libm_Long_Double.Tan,
  52 
  53          C_Asin  => System.Libm_Long_Double.Asin,
  54          C_Acos  => System.Libm_Long_Double.Acos,
  55          C_Atan2 => System.Libm_Long_Double.Atan2,
  56 
  57          C_Sinh  => System.Libm_Long_Double.Sinh,
  58          C_Cosh  => System.Libm_Long_Double.Cosh,
  59          C_Tanh  => System.Libm_Long_Double.Tanh,
  60 
  61          C_Asinh => System.Libm_Long_Double.Asinh,
  62          C_Acosh => System.Libm_Long_Double.Acosh,
  63          C_Atanh => System.Libm_Long_Double.Atanh);
  64 pragma Pure (Long_Long_Elementary_Functions);