an engine that has floating point (double) numbers implemented More...
#include <elamfloatengine.h>
Public Member Functions | |
FloatEngine () | |
instantiates a pre-initialized engine | |
Static Public Member Functions | |
static void | configureFloatEngine (Engine &) |
configures any engine to support float | |
static int | floatHighParserPrio () |
returns the high priority for float literal parsers, this applies to floats that are definitely not int | |
static int | floatLowParserPrio () |
returns the low priority for float literal parsers, this applies to floats that would be interpreted as int if an int engine is present |
an engine that has floating point (double) numbers implemented
This engine type plays nice with the IntEngine functions by supplemening its operators to be able to mix float and int in operations.
Per default only the float versions are pre-installed. Use IntEngine::configureIntEngine or IntFloatEngine to have both.
ELAM::FloatEngine::FloatEngine | ( | ) |
instantiates a pre-initialized engine
static void ELAM::FloatEngine::configureFloatEngine | ( | Engine & | ) | [static] |
configures any engine to support float
static int ELAM::FloatEngine::floatHighParserPrio | ( | ) | [static] |
returns the high priority for float literal parsers, this applies to floats that are definitely not int
static int ELAM::FloatEngine::floatLowParserPrio | ( | ) | [static] |
returns the low priority for float literal parsers, this applies to floats that would be interpreted as int if an int engine is present