fesetround()

Sets the floating-point environment's rounding direction.

  #include <fenv.h>
  
  int fesetround(int direction); 
Parameter

direction

A valid rounding direction.

Remarks

This function returns true if the rounding mode specified by direction is valid, false otherwise.

This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.