Ada Programming/Attributes/'Aft


S'Aft is an Ada attribute where S is a fixed point subtype.

Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.

S'Aft returns the number digits needed after the decimal point to accommodate the precision of the subtype S, unless the delta of the subtype S is larger than 0.1, in which case the attribute returns a value of 1.

See also edit

Wikibook edit

Ada Reference Manual edit