type definitions for rational numbers
Definition in file type_rational.h.
Go to the source code of this file.
| typedef struct SCIP_Rational SCIP_RATIONAL |
type used for rational numbers
Definition at line 40 of file type_rational.h.
| typedef struct SCIP_RationalArray SCIP_RATIONALARRAY |
dynamic array for storing SCIP_Real values
Definition at line 43 of file type_rational.h.
| typedef enum SCIP_IsFpRepresentable SCIP_ISFPREPRESENTABLE |
Definition at line 52 of file type_rational.h.
| typedef enum SCIP_RoundModeRational SCIP_ROUNDMODE_RAT |
Definition at line 61 of file type_rational.h.
information if a rational is exactly representable as a floating point number
| Enumerator | |
|---|---|
| SCIP_ISFPREPRESENTABLE_UNKNOWN | representability is unknown |
| SCIP_ISFPREPRESENTABLE_TRUE | is representable |
| SCIP_ISFPREPRESENTABLE_FALSE | is not representable |
Definition at line 46 of file type_rational.h.
defines the possible rounding direction for a rational number, when converting to a double
| Enumerator | |
|---|---|
| SCIP_R_ROUND_DOWNWARDS | always round to nearest smaller double |
| SCIP_R_ROUND_UPWARDS | always round to nearest larger double |
| SCIP_R_ROUND_NEAREST | always round to nearest double |
Definition at line 55 of file type_rational.h.