F.7.2 Translation

1

During translation the IEC 60559 default modes are in effect:

  • The rounding direction mode is rounding to nearest.

  • The rounding precision mode (if supported) is set so that results are not shortened.

  • Trapping or stopping (if supported) is disabled on all floating-point exceptions.

Recommended practice

2

The implementation should produce a diagnostic message for each translation-time floating-point exception, other than “inexact”;[1] the implementation should then proceed with the translation of the program.

Footnotes