Ada Programming/Attributes/'Machine Overflows

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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]
SMachine_Overflows return Boolean