Ada Programming/Libraries/Ada.Numerics.Generic Elementary Functions

is a unit of the Predefined Language Environment since Ada 95.

The generic package defines various mathematical functions for floating point type. Being generic it can not only be used for predefined floating point types but also for any user defined floating type.

Usage
There is an extensive usage guide in Ada Programming/Mathematical calculations. Here the relevant extract:

; Numeric_4 Value_Type  12 -999_999_999_999.0e999 .. 999_999_999_999.0e999; Value_Functions  Ada.Numerics.Generic_Elementary_Functions (      Value_Type);

Specification
Float_Type Pure Generic_Elementary_Functions Sqrt X           Float_Type  Float_Type Log X           Float_Type  Float_Type Log X Base     Float_Type  Float_Type Exp X           Float_Type  Float_Type ""   Left Right  Float_Type  Float_Type Sin X           Float_Type  Float_Type Sin X Cycle    Float_Type  Float_Type Cos X           Float_Type  Float_Type Cos X Cycle    Float_Type  Float_Type Tan X           Float_Type  Float_Type Tan X Cycle    Float_Type  Float_Type Cot X           Float_Type  Float_Type Cot X Cycle    Float_Type  Float_Type Arcsin X           Float_Type  Float_Type Arcsin X Cycle    Float_Type  Float_Type Arccos X           Float_Type  Float_Type Arccos X Cycle    Float_Type  Float_Type Arctan Y            Float_Type X           Float_Type  10 Float_Type Arctan Y            Float_Type X           Float_Type  10 Cycle       Float_Type  Float_Type Arccot X            Float_Type Y           Float_Type  10 Float_Type Arccot X            Float_Type Y           Float_Type  10 Cycle       Float_Type  Float_Type Sinh X           Float_Type  Float_Type Cosh X           Float_Type  Float_Type Tanh X           Float_Type  Float_Type Coth X           Float_Type  Float_Type Arcsinh X           Float_Type  Float_Type Arccosh X           Float_Type  Float_Type Arctanh X           Float_Type  Float_Type Arccoth X           Float_Type  Float_Type AdaNumericsGeneric_Elementary_Functions

Wikibook

 * Ada Programming
 * Ada Programming/Libraries/Ada