This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
You'll find that globally changing the rounding mode will screw up libm functions. Which is pretty much going to make this useless.
Further, when folks need rounding modes other than round-to-nearest, they tend to need to switch rounding modes during the program too.
Thus I think an environment variable to do this is doubly useless.
All that said, C99 has <fenv.h> to control just about anything you could want about the fpu.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |