Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
CoinAbcCommon.hpp File Reference
#include "CoinPragma.hpp"
#include "CoinUtilsConfig.h"
#include <iostream>
#include <string>
#include <cassert>
#include <cstdio>
#include <cmath>
#include "AbcCommon.hpp"
#include "CoinHelperFunctions.hpp"
#include <endian.h>
+ Include dependency graph for CoinAbcCommon.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AbcTolerancesEtc
 

Macros

#define COIN_FAC_NEW
 
#define ABC_INLINE
 
#define ABC_PARALLEL   0
 
#define cilk_for   for
 
#define cilk_spawn
 
#define cilk_sync
 
#define SLACK_VALUE   1
 
#define ABC_INSTRUMENT   1
 
#define instrument_start(name, x)
 
#define instrument_add(x)
 
#define instrument_end()
 
#define instrument_do(name, x)
 
#define instrument_end_and_adjust(x)
 
#define ABC_INTEL
 
#define CoinFabs(x)   fabs(x)
 
#define TEST_DOUBLE_NONZERO(x)   (true)
 
#define USE_TEST_INT_ZERO
 
#define TEST_INT_NONZERO(x)   (x)
 
#define TEST_DOUBLE_REALLY_NONZERO(x)   (x)
 
#define TEST_DOUBLE_NONZERO_REGISTER(x)   (true)
 
#define USE_FIXED_ZERO_TOLERANCE
 
#define TEST_LESS_THAN_TOLERANCE(x)   (fabs(x)<pow(0.5,43))
 
#define TEST_LESS_THAN_UPDATE_TOLERANCE(x)   (fabs(x)<pow(0.5,43))
 
#define TEST_LESS_THAN_TOLERANCE_REGISTER(x)   (fabs(x)<pow(0.5,43))
 
#define ABC_EXPONENT(x)   ((reinterpret_cast<int *>(&x))[1]&0x7ff00000)
 
#define TEST_EXPONENT_LESS_THAN_TOLERANCE(x)   (x<0x3d400000)
 
#define TEST_EXPONENT_LESS_THAN_UPDATE_TOLERANCE(x)   (x<0x3d400000)
 
#define TEST_EXPONENT_NON_ZERO(x)   (x)
 
#define COINFACTORIZATION_BITS_PER_INT   32
 
#define COINFACTORIZATION_SHIFT_PER_INT   5
 
#define COINFACTORIZATION_MASK_PER_INT   0x1f
 
#define ABC_DENSE_CODE   2
 

Typedefs

typedef double CoinSimplexDouble
 
typedef int CoinSimplexInt
 
typedef unsigned int CoinSimplexUnsignedInt
 
typedef unsigned int CoinExponent
 
typedef unsigned char CoinCheckZero
 

Functions

template<class T >
void CoinAbcMemset0 (register T *to, const int size)
 
template<class T >
void CoinAbcMemcpy (register T *to, register const T *from, const int size)
 

Macro Definition Documentation

#define COIN_FAC_NEW

Definition at line 8 of file CoinAbcCommon.hpp.

#define ABC_INLINE

Definition at line 30 of file CoinAbcCommon.hpp.

#define ABC_PARALLEL   0

Definition at line 36 of file CoinAbcCommon.hpp.

#define cilk_for   for

Definition at line 54 of file CoinAbcCommon.hpp.

#define cilk_spawn

Definition at line 55 of file CoinAbcCommon.hpp.

#define cilk_sync

Definition at line 56 of file CoinAbcCommon.hpp.

#define SLACK_VALUE   1

Definition at line 59 of file CoinAbcCommon.hpp.

#define ABC_INSTRUMENT   1

Definition at line 60 of file CoinAbcCommon.hpp.

#define instrument_start (   name,
 
)

Definition at line 63 of file CoinAbcCommon.hpp.

#define instrument_add (   x)

Definition at line 64 of file CoinAbcCommon.hpp.

#define instrument_end ( )

Definition at line 65 of file CoinAbcCommon.hpp.

#define instrument_do (   name,
 
)

Definition at line 67 of file CoinAbcCommon.hpp.

#define instrument_end_and_adjust (   x)

Definition at line 69 of file CoinAbcCommon.hpp.

#define ABC_INTEL

Definition at line 81 of file CoinAbcCommon.hpp.

#define CoinFabs (   x)    fabs(x)

Definition at line 91 of file CoinAbcCommon.hpp.

#define TEST_DOUBLE_NONZERO (   x)    (true)

Definition at line 101 of file CoinAbcCommon.hpp.

#define USE_TEST_INT_ZERO

Definition at line 103 of file CoinAbcCommon.hpp.

#define TEST_INT_NONZERO (   x)    (x)

Definition at line 105 of file CoinAbcCommon.hpp.

#define TEST_DOUBLE_REALLY_NONZERO (   x)    (x)

Definition at line 117 of file CoinAbcCommon.hpp.

#define TEST_DOUBLE_NONZERO_REGISTER (   x)    (true)

Definition at line 127 of file CoinAbcCommon.hpp.

#define USE_FIXED_ZERO_TOLERANCE

Definition at line 129 of file CoinAbcCommon.hpp.

#define TEST_LESS_THAN_TOLERANCE (   x)    (fabs(x)<pow(0.5,43))

Definition at line 141 of file CoinAbcCommon.hpp.

#define TEST_LESS_THAN_UPDATE_TOLERANCE (   x)    (fabs(x)<pow(0.5,43))

Definition at line 142 of file CoinAbcCommon.hpp.

#define TEST_LESS_THAN_TOLERANCE_REGISTER (   x)    (fabs(x)<pow(0.5,43))

Definition at line 151 of file CoinAbcCommon.hpp.

#define ABC_EXPONENT (   x)    ((reinterpret_cast<int *>(&x))[1]&0x7ff00000)

Definition at line 160 of file CoinAbcCommon.hpp.

#define TEST_EXPONENT_LESS_THAN_TOLERANCE (   x)    (x<0x3d400000)

Definition at line 164 of file CoinAbcCommon.hpp.

#define TEST_EXPONENT_LESS_THAN_UPDATE_TOLERANCE (   x)    (x<0x3d400000)

Definition at line 165 of file CoinAbcCommon.hpp.

#define TEST_EXPONENT_NON_ZERO (   x)    (x)

Definition at line 166 of file CoinAbcCommon.hpp.

#define COINFACTORIZATION_BITS_PER_INT   32

Definition at line 179 of file CoinAbcCommon.hpp.

#define COINFACTORIZATION_SHIFT_PER_INT   5

Definition at line 180 of file CoinAbcCommon.hpp.

#define COINFACTORIZATION_MASK_PER_INT   0x1f

Definition at line 181 of file CoinAbcCommon.hpp.

#define ABC_DENSE_CODE   2

Definition at line 225 of file CoinAbcCommon.hpp.

Typedef Documentation

typedef double CoinSimplexDouble

Definition at line 21 of file CoinAbcCommon.hpp.

typedef int CoinSimplexInt

Definition at line 22 of file CoinAbcCommon.hpp.

typedef unsigned int CoinSimplexUnsignedInt

Definition at line 23 of file CoinAbcCommon.hpp.

typedef unsigned int CoinExponent

Definition at line 158 of file CoinAbcCommon.hpp.

typedef unsigned char CoinCheckZero

Definition at line 230 of file CoinAbcCommon.hpp.

Function Documentation

template<class T >
void CoinAbcMemset0 ( register T *  to,
const int  size 
)
inline

Definition at line 232 of file CoinAbcCommon.hpp.

template<class T >
void CoinAbcMemcpy ( register T *  to,
register const T *  from,
const int  size 
)
inline

Definition at line 243 of file CoinAbcCommon.hpp.