libSBML C++ API  5.20.4
common.h File Reference

Common functions and macros for C and C++. More...

Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Macros

#define LIBSBML_DOUBLE_PRECISION   15
 
#define LIBSBML_FLOAT_FORMAT   "%.15g"
 Default format used by libSBML when writing out floating-point numbers into the XML produced by libSBML. More...
 
#define LIBSBML_UNKNOWN_COLUMN   SBML_INT_MAX
 
#define LIBSBML_UNKNOWN_LINE   SBML_INT_MAX
 
#define LIBSBML_USE_LEGACY_MATH   1
 

Variables

int errno
 
static const int SBML_INT_MAX = 2147483647
 
static const int SBML_INT_MIN = -2147483647 - 1
 

Detailed Description

Common functions and macros for C and C++.

Author
Ben Bornstein

Macro Definition Documentation

◆ LIBSBML_DOUBLE_PRECISION

#define LIBSBML_DOUBLE_PRECISION   15

◆ LIBSBML_FLOAT_FORMAT

#define LIBSBML_FLOAT_FORMAT   "%.15g"

Default format used by libSBML when writing out floating-point numbers into the XML produced by libSBML.

This is used by StringBuffer_appendReal.

◆ LIBSBML_UNKNOWN_COLUMN

#define LIBSBML_UNKNOWN_COLUMN   SBML_INT_MAX

◆ LIBSBML_UNKNOWN_LINE

#define LIBSBML_UNKNOWN_LINE   SBML_INT_MAX

◆ LIBSBML_USE_LEGACY_MATH

#define LIBSBML_USE_LEGACY_MATH   1

Variable Documentation

◆ errno

int errno
extern

◆ SBML_INT_MAX

const int SBML_INT_MAX = 2147483647
static

◆ SBML_INT_MIN

const int SBML_INT_MIN = -2147483647 - 1
static