PowerAda 123

From OC Systems Wiki!
Jump to: navigation, search

(123) The result of a floating point arithmetic operation in overflow situations, when the Machine_Overflows attribute of the result type is False.

See G.2.1(13).

The result of a floating point operation in overflow situations is an "infinity" value as described by IEEE 754-1985. Certain operations whose results are mathematically undefined do not return an infinity (such as 0/0) as these are not actually overflow situations. In these cases an IEEE NaN will be returned.