33 #define UNUSED_PARAMETER(x) ((void)(x)) 40 #define FALLTHROUGH __attribute__((fallthrough)) 44 #define SUMO_MAX_CONNECTIONS 256 84 return MIN2(c, a < b ? a : b);
91 return MAX2(c, a > b ? a : b);
131 double truncate(
double x,
int fractionBits);
134 double roundBits(
double x,
int fractionBits);
T MIN4(T a, T b, T c, T d)
const double SUMO_const_halfLaneAndOffset
const double SUMO_const_laneWidth
const double SUMO_const_laneWidthAndOffset
bool gDebugFlag1
global utility flags for debugging
const double SUMO_const_laneOffset
int gPrecision
the precision for floating point outputs
const double SUMO_const_halfLaneWidth
T MAX4(T a, T b, T c, T d)
const double SUMO_const_laneMarkWidth
const double SUMO_const_quarterLaneWidth
const double SUMO_const_haltingSpeed
the speed threshold at which vehicles are considered as halting
double truncate(double x, int fractionBits)
discrds mantissa bits beyond the given number
double roundBits(double x, int fractionBits)
round to the given number of mantissa bits beyond the given number
const double INVALID_DOUBLE