GCC Middle and Back End API Reference
sreal.h File Reference

Go to the source code of this file.

Data Structures

struct  sreal

Typedefs

typedef struct sreal sreal

Functions

void dump_sreal (FILE *, sreal *)
void debug (sreal &ref)
void debug (sreal *ptr)
srealsreal_init (sreal *, unsigned HOST_WIDE_INT, signed int)
HOST_WIDE_INT sreal_to_int (sreal *)
int sreal_compare (sreal *, sreal *)
srealsreal_add (sreal *, sreal *, sreal *)
srealsreal_sub (sreal *, sreal *, sreal *)
srealsreal_mul (sreal *, sreal *, sreal *)
srealsreal_div (sreal *, sreal *, sreal *)

Typedef Documentation

typedef struct sreal sreal
Structure for holding a simple real number.   

Function Documentation

void debug ( sreal ref)
void debug ( sreal ptr)
void dump_sreal ( FILE *  ,
sreal  
)
sreal* sreal_add ( sreal ,
sreal ,
sreal  
)
int sreal_compare ( sreal ,
sreal  
)
sreal* sreal_div ( sreal ,
sreal ,
sreal  
)
sreal* sreal_init ( sreal ,
unsigned  HOST_WIDE_INT,
signed  int 
)
sreal* sreal_mul ( sreal ,
sreal ,
sreal  
)
sreal* sreal_sub ( sreal ,
sreal ,
sreal  
)
HOST_WIDE_INT sreal_to_int ( sreal )