If performance is your primary concern and you want your program to be
relatively safe but do not mind if results are slightly different (generally
more precise) from what they would be otherwise, optimize the program with the
-O option, and specify -qfloat=rsqrt:fltint.
The following section describes the functions of these suboptions:
- The rsqrt suboption replaces division by a square root with
multiplication by the reciprocal of the root, a faster operation that may not
produce precisely the same result.
- The fltint suboption speeds up float-to-integer conversions by
reducing error checking for overflows. You should make sure that any
floats that are converted to integers are not outside the range of the
corresponding integer types.
