libSBML C API  libSBML 5.20.4 C API
Loading...
Searching...
No Matches
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"
 _tDefault_t _tformat_t _tused_t _tby_t _tlibSBML_t _twhen_t _twriting_t _tout_t _tfloating_t-_tpoint_t _tnumbers_t _tinto_t _tthe_t _tXML_t _tproduced_t _tby_t _tlibSBML_t.
 
#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"

_tDefault_t _tformat_t _tused_t _tby_t _tlibSBML_t _twhen_t _twriting_t _tout_t _tfloating_t-_tpoint_t _tnumbers_t _tinto_t _tthe_t _tXML_t _tproduced_t _tby_t _tlibSBML_t.

_tThis_t _tis_t _tused_t _tby_t _tStringBuffer_appendReal_t.

◆ 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