DFP compiler option and earlier floating-point applications

As of z/OS® V1R10, there is a risk that earlier C/C++ applications compiled with the DFP option could inadvertently reset the decimal floating-point rounding mode to the default value. You should consider this risk if you are adding decimal floating-point functionality to an application that includes floating-point operations which use the data type fenv_t or the function fesetenv() with the static initializer FE_DFL_ENV. This is because the FE_DFL_ENV and __fe_def_env static initializers set the decimal floating-point rounding mode to the FE_DEC_TONEAREST value.

Be aware of the following constraints