Ada Programming/Attributes/'Exponent
Appearance
Description
[edit | edit source]Returns normalized exponent of the floating point argument.
For every subtype S of a floating point type T:
S'Exponent denotes a function with the following specification:
function S'Exponent (X : T) return universal_integer
The function yields the normalized exponent of X.
Example
[edit | edit source]S’Exponent (X:T) return universal_integer