Ada Programming/Attributes/'Remainder
< Ada Programming < AttributesDescription
X'Remainder(Y,Z) is an Ada attribute where X is any floating-point type and Y,Z are any instances of that type. This attribute represents the fractional part of this result. Z should never be zero.
If Y is negative, then the result will be negative.
Example
TODO:
See also
Wikibook
- Ada Programming
- Ada Programming/Attributes
- Ada Programming/Attributes/'Rounding
- Ada Programming/Attributes/'Truncation
- Ada Programming/Attributes/'Unbiased_Rounding
Ada Reference Manual
- 13.3 Operational and Representation Attributes (Annotated)
- Annex K Language-Defined Attributes (Annotated)
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.