Functions to set and get the IEEE rounding mode