gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
fenv.c File Reference
#include <assert.h>
#include <fenv.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

void m5_fesetround (int rm)
 
int m5_fegetround ()
 

Variables

static const int m5_round_ops [] = {FE_DOWNWARD, FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD}
 

Function Documentation

int m5_fegetround ( )

Definition at line 46 of file fenv.c.

References m5_round_ops, ArmISA::rm, and X86ISA::x.

void m5_fesetround ( int  rm)

Definition at line 40 of file fenv.c.

References m5_round_ops.

Variable Documentation

const int m5_round_ops[] = {FE_DOWNWARD, FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD}
static

Definition at line 38 of file fenv.c.

Referenced by m5_fegetround(), and m5_fesetround().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6