Last modified on 22 March 2013, at 15:01

Ada Programming/Libraries/Ada.Numerics


Ada Lovelace 1838.jpg

package Ada.Numerics is
   pragma Pure (Numerics);
   Argument_Error : exception;
   Pi : constant :=
         3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
   π  : constant := Pi;
   e  : constant :=
         2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
end Ada.Numerics;
π 
This language feature is only available in Ada 2005.

See alsoEdit

WikibookEdit

Ada Reference ManualEdit

Ada 95Edit

Ada 2005Edit

Ada IssuesEdit