Mark ChangeLog
[official-gcc.git] / gcc / ada / a-numeri.ads
blobdab536504c2e17848a3cd11b2f312ee7d2e086af
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUNTIME 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 ------------------------------------------------------------------------------
17 package Ada.Numerics is
18 pragma Pure (Numerics);
20 Argument_Error : exception;
22 Pi : constant :=
23 3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
25 ["03C0"] : constant := Pi;
26 -- This is the greek letter Pi (for Ada 2005 AI-388). Note that it is
27 -- conforming to have this present even in Ada 95 mode, because there is
28 -- no way for a normal mode Ada 95 program to reference this identifier.
30 e : constant :=
31 2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
33 end Ada.Numerics;