-qfloat
In z/OS® XL C/C++, the -qfloat option selects different strategies for speeding up or improving the accuracy of floating-point calculations and specifies the format of floating-point numbers and instructions.
In Open XL C/C++ for z/OS,
some of the -qfloat suboptions have functionally equivalent options as shown in
the following table.
| Options supported by z/OS XL C/C++ | Similar/equivalent options supported by Open XL C/C++ for z/OS |
|---|---|
| -qfloat=afp=novolatile | None. This is the default behavior. |
| -qfloat=afp=volatile, -qfloat=noafp | None. |
| -qfloat=[no]fold | None |
| -qfloat=hex | -mzos-float-kind=hex |
| -qfloat=ieee | -mzos-float-kind=ieee |
| -qfloat=maf | -ffp-contract=on; -ffp-contract=fast can be used for additional optimizations. |
| -qfloat=nomaf | -ffp-contract=off |
| -qfloat=rrm | -frounding-math |
| -qfloat=norrm | -fno-rounding-math |