Ada Programming/Attributes/'Delta


Ada Lovelace 1838.jpg

DescriptionEdit

X'Delta is an Ada attribute where X is any fixed point type. This attribute represents the delta specified in the type definition of X.

ExampleEdit

type My_Fixed is delta 0.1 range 0.0 .. 100.0;

pragma Assert (My_Fixed'Delta = 0.1);  -- OK

See alsoEdit

WikibookEdit

Ada Reference ManualEdit

Last modified on 5 January 2009, at 23:56