MicrOS
fesetround.c File Reference
#include "../fenv.h"

Functions

int fesetround (int round)
 Set rounding direction. More...
 

Function Documentation

◆ fesetround()

int fesetround ( int  round)

Set rounding direction.

Function establishes the rounding direction represented by its argument round. If the argument is not equal to the value of a rounding direction macro, the rounding direction is not changed.

Parameters
roundRounding direction to set.
Returns
Function returns zero if and only if the requested rounding direction was established.