ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
Macros | Typedefs
common.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <adolc/internal/adolc_settings.h>
#include <adolc/internal/usrparms.h>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BEGIN_C_DECLS
 
#define END_C_DECLS
 
#define MAXDEC(a, b)
 
#define MAXDECI(a, b)
 
#define MINDECR(a, b)
 
#define MINDEC(a, b)
 
#define MAX_ADOLC(a, b)   ((a) < (b) ? (b) : (a))
 
#define MIN_ADOLC(a, b)   ((a) > (b) ? (b) : (a))
 

Typedefs

typedef uint32_t bitword_t
 
typedef unsigned int uint
 

Macro Definition Documentation

◆ BEGIN_C_DECLS

#define BEGIN_C_DECLS

◆ END_C_DECLS

#define END_C_DECLS

◆ MAX_ADOLC

#define MAX_ADOLC (   a,
  b 
)    ((a) < (b) ? (b) : (a))

◆ MAXDEC

#define MAXDEC (   a,
  b 
)
Value:
do { \
revreal __r = (b); \
if (__r > (a)) \
(a) = __r; \
} while (0)

◆ MAXDECI

#define MAXDECI (   a,
  b 
)
Value:
do { \
int __r = (b); \
if (__r > (a)) \
(a) = __r; \
} while (0)

◆ MIN_ADOLC

#define MIN_ADOLC (   a,
  b 
)    ((a) > (b) ? (b) : (a))

◆ MINDEC

#define MINDEC (   a,
  b 
)
Value:
do { \
int __r = (b); \
if (__r < (a)) \
(a) = __r; \
} while (0)

◆ MINDECR

#define MINDECR (   a,
  b 
)
Value:
do { \
revreal __r = (b); \
if (__r < (a)) \
(a) = __r; \
} while (0)

Typedef Documentation

◆ bitword_t

typedef uint32_t bitword_t

◆ uint

typedef unsigned int uint