- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/svn-release/Blis-0.93.2/CoinUtils/src/CoinTypes.hpp

Go to the documentation of this file.

    00001 /* $Id: CoinTypes.hpp 1448 2011-06-19 15:34:41Z stefan $ */
    00002 // Copyright (C) 2004, International Business Machines
    00003 // Corporation and others.  All Rights Reserved.
    00004 // This code is licensed under the terms of the Eclipse Public License (EPL).
    00005
    00006 #ifndef _CoinTypes_hpp
    00007 #define _CoinTypes_hpp
    00008
    00009 #include "CoinUtilsConfig.h"
    00010
    00011 #define CoinInt64 COIN_INT64_T
    00012 #define CoinUInt64 COIN_UINT64_T
    00013 #define CoinIntPtr COIN_INTPTR_T
    00014
    00015 //=============================================================================
    00016 #ifndef COIN_BIG_INDEX
    00017 #define COIN_BIG_INDEX 0
    00018 #endif
    00019
    00020 #if COIN_BIG_INDEX==0
    00021 typedef int CoinBigIndex;
    00022 #elif COIN_BIG_INDEX==1
    00023 typedef long CoinBigIndex;
    00024 #else
    00025 typedef long long CoinBigIndex;
    00026 #endif
    00027
    00028 //=============================================================================
    00029 #ifndef COIN_BIG_DOUBLE
    00030 #define COIN_BIG_DOUBLE 0
    00031 #endif
    00032
    00033 // See if we want the ability to have long double work arrays
    00034 #if COIN_BIG_DOUBLE==2
    00035 #undef COIN_BIG_DOUBLE
    00036 #define COIN_BIG_DOUBLE 0
    00037 #define COIN_LONG_WORK 1
    00038 typedef long double CoinWorkDouble;
    00039 #elif COIN_BIG_DOUBLE==3
    00040 #undef COIN_BIG_DOUBLE
    00041 #define COIN_BIG_DOUBLE 1
    00042 #define COIN_LONG_WORK 1
    00043 typedef long double CoinWorkDouble;
    00044 #else
    00045 #define COIN_LONG_WORK 0
    00046 typedef double CoinWorkDouble;
    00047 #endif
    00048
    00049 #if COIN_BIG_DOUBLE==0
    00050 typedef double CoinFactorizationDouble;
    00051 #elif COIN_BIG_DOUBLE==1
    00052 typedef long double CoinFactorizationDouble;
    00053 #else
    00054 typedef double CoinFactorizationDouble;
    00055 #endif
    00056
    00057 #endif