Ada Programming/Attributes/'Machine Overflows
Appearance
Description
[edit | edit source]True if numeric overflow detected for fixed or floating point.
Yields the value True if overflow and divide-by-zero are detected and reported by raising Constraint_Error for every predefined operation that yields a result of the type T; yields the value False otherwise.
The value of this attribute is of the predefined type Boolean.
Example
[edit | edit source]S’Machine_Overflows return Boolean