The default is -fround=nearest.
The meanings are the same as those for the ieee_flags subroutine.
If you compile one routine with -fround=r, compile all routines of the program with the same –fround=roption; otherwise, unexpected results may occur.
–ftrap=t
(Solaris 2.x only) The -ftrap=toption sets the IEEE 754 trapping mode in effect at startup.
t is a comma-separated list of one or more of the following: %all, %none, common, [no%]invalid, [no%]overflow, [no%]underflow, [no%]division, [no%]inexact. The default is -ftrap=%none.
This option sets the IEEE 754 trapping modes that are established at program initialization. Processing is left-to-right. The common exceptions, by definition, are invalid, division by zero, and overflow.
Example: -ftrap=%all,no%inexactmeans set all traps, except inexact.
The meanings are the same as for the ieee_flags function, except that:
•%all turns on all the trapping modes.
•%none, the default, turns off all trapping modes.
•A no% prefix turns off that specific trapping mode.
If you compile one routine with -ftrap=t, compile all routines of the program with the same -ftrap=toption; otherwise, unexpected results may occur.
-G
(Solaris 2.x only) The -Goption builds a shared library. All object files specified with this command option should have been compiled with either the -picor the -PICoption.