PowerAda 128

From OC Systems Wiki!
Jump to: navigation, search

(128) The result of an elementary function reference in overflow situations, when the Machine_Overflows attribute of the result type is False.

See G.2.4(4).

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.