Back to index

glibc  2.9
Functions
fesetround.c File Reference
#include "soft-fp.h"
#include "soft-supp.h"

Go to the source code of this file.

Functions

int fesetround (int round)

Function Documentation

int fesetround ( int  round)

Definition at line 25 of file fesetround.c.

{
  if ((unsigned int) round > FE_DOWNWARD)
    return 1;

  __sim_round_mode = round;

  return 0;
}