Last modified on 22 March 2013, at 15:57

Ada Programming/Libraries/Standard/ObjectAda

The ObjectAda Standard package is described in the documentation that comes with the compiler, as required by Annex M (Annotated).


The predefined integer types:

Integer
with a range of -2**31 .. +2**31 -1
Short_Integer
with a range of -2**15 .. +2**15 -1
Short_Short_Integer
with a range of -2**7 .. +2**7 -1
Long_Integer
with a range of -2**31 .. +2**31 -1


The predefined floating point types:

type Float      is digits   6 range -(3.4E+38)  .. +(3.4E+38);
type Long_Float is digits  15 range -(1.8E+308) .. +(1.8E+308);

And:

type Duration is
   delta 2.0**(-14)
   range -131072.0 .. +131072.0 - 2.0**(-14);

See alsoEdit

WikibookEdit