gcc:
[official-gcc.git] / gcc / ada / a-numeri.ads
blob4d25bce476bedc0315fc2bfa66b80d61bda2d042
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUN-TIME COMPONENTS --
4 -- --
5 -- A D A . N U M E R I C S --
6 -- --
7 -- S p e c --
8 -- --
9 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
13 -- --
14 ------------------------------------------------------------------------------
16 package Ada.Numerics is
17 pragma Pure;
19 Argument_Error : exception;
21 Pi : constant :=
22 3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
24 ["03C0"] : constant := Pi;
25 -- This is the greek letter Pi (for Ada 2005 AI-388). Note that it is
26 -- conforming to have this constant present even in Ada 95 mode, as there
27 -- is no way for a normal mode Ada 95 program to reference this identifier.
29 e : constant :=
30 2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
32 end Ada.Numerics;