Contents Index Search Previous Next
A.5 The Numerics Packages
The library package Numerics is the parent of
several child units that provide facilities for mathematical computation.
One child, the generic package Generic_Elementary_Functions, is defined
, together with nongeneric equivalents;
two others, the package Float_Random and the generic package Discrete_Random,
are defined in A.5.2
. Additional (optional)
children are defined in Annex G
This paragraph was deleted.
package Ada.Numerics is
Argument_Error : exception;
Pi : constant :=
e : constant :=
The Argument_Error exception is raised by a subprogram
in a child unit of Numerics to signal that one or more of the actual
subprogram parameters are outside the domain of the corresponding mathematical
The implementation may specify the values of Pi
and e to a larger number of significant digits.
Contents Index Search Previous Next Legal