411 REFERENCE · Wikibooks
Ada Programming/Attributes/'Fraction
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Attributes 'Fraction
__TOC__
Description
X'Fraction(Y) is an Ada attribute where X is any floating-point type and Y is any instance of that type.
X'Fraction(Y) returns the floating point number Y with the exponent replaced with 0. This is the same as X'Compose(Y, 0).
See also
Wikibook
Ada Programming
Ada Programming/Attributes
Ada Programming/Attributes/'Compose
Ada Reference Manual
5 3 Attributes of Floating Point Types
K Language-Defined Attributes
Address
Address