Ada Programming/Attributes/'Delta
Appearance
Description
[edit | edit source]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.
Example
[edit | edit source]type
My_Fixedis
delta
0.1range
0.0 .. 100.0;pragma
Assert (My_Fixed'Delta = 0.1); -- OK
See also
[edit | edit source]Wikibook
[edit | edit source]- Ada Programming
- Ada Programming/Attributes
- Ada Programming/Types/delta
- Ada Programming/Attributes/'Digits