Changing the Rounding Style

It looks like ARM-based, ESP8266, and ESP32 processors support the 'fenv.h' and 'cfenv' include files. You're out of luck with the AVR processors.