PR target/16201
[official-gcc.git] / gcc / ada / a-numeri.ads
blobe0dfef2b2f242bb9f2ecb5d1137d04ceb66e2437
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. Note that it is conforming to have this
27 -- present even in Ada 95 mode, because there is no way for a normal mode
28 -- Ada 95 program to reference this identifier in any case.
30 e : constant :=
31 2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
33 end Ada.Numerics;