ICRS Eurobot 2013

Dependencies:   mbed mbed-rtos Servo QEI

Committer:
madcowswe
Date:
Tue Apr 09 15:33:36 2013 +0000
Revision:
20:70d651156779
Parent:
15:9c5aaeda36dc
Predict loop running, update loop not done.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
madcowswe 15:9c5aaeda36dc 1 /*
madcowswe 15:9c5aaeda36dc 2 * Tiny Vector Matrix Library
madcowswe 15:9c5aaeda36dc 3 * Dense Vector Matrix Libary of Tiny size using Expression Templates
madcowswe 15:9c5aaeda36dc 4 *
madcowswe 15:9c5aaeda36dc 5 * Copyright (C) 2001 - 2007 Olaf Petzold <opetzold@users.sourceforge.net>
madcowswe 15:9c5aaeda36dc 6 *
madcowswe 15:9c5aaeda36dc 7 * This library is free software; you can redistribute it and/or
madcowswe 15:9c5aaeda36dc 8 * modify it under the terms of the GNU Lesser General Public
madcowswe 15:9c5aaeda36dc 9 * License as published by the Free Software Foundation; either
madcowswe 15:9c5aaeda36dc 10 * version 2.1 of the License, or (at your option) any later version.
madcowswe 15:9c5aaeda36dc 11 *
madcowswe 15:9c5aaeda36dc 12 * This library is distributed in the hope that it will be useful,
madcowswe 15:9c5aaeda36dc 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
madcowswe 15:9c5aaeda36dc 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
madcowswe 15:9c5aaeda36dc 15 * Lesser General Public License for more details.
madcowswe 15:9c5aaeda36dc 16 *
madcowswe 15:9c5aaeda36dc 17 * You should have received a copy of the GNU Lesser General Public
madcowswe 15:9c5aaeda36dc 18 * License along with this library; if not, write to the Free Software
madcowswe 15:9c5aaeda36dc 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
madcowswe 15:9c5aaeda36dc 20 *
madcowswe 15:9c5aaeda36dc 21 * $Id: config-icc.h,v 1.12 2007-06-23 15:58:59 opetzold Exp $
madcowswe 15:9c5aaeda36dc 22 */
madcowswe 15:9c5aaeda36dc 23
madcowswe 15:9c5aaeda36dc 24 #ifndef TVMET_CONFIG_ICC_H
madcowswe 15:9c5aaeda36dc 25 #define TVMET_CONFIG_ICC_H
madcowswe 15:9c5aaeda36dc 26
madcowswe 15:9c5aaeda36dc 27 #if defined(__INTEL_COMPILER)
madcowswe 15:9c5aaeda36dc 28
madcowswe 15:9c5aaeda36dc 29 /* isnan/isinf hack
madcowswe 15:9c5aaeda36dc 30 *
madcowswe 15:9c5aaeda36dc 31 * The problem is related intel's 8.0 macros isnan and isinf,
madcowswe 15:9c5aaeda36dc 32 * they are expanded in this version and they are not compileable
madcowswe 15:9c5aaeda36dc 33 * therefore. We use a small hack here - disabling. This is
madcowswe 15:9c5aaeda36dc 34 * not an real solution, nor forever.
madcowswe 15:9c5aaeda36dc 35 * For a list of all defined symbols use icpc -E -dM prog1.cpp
madcowswe 15:9c5aaeda36dc 36 * or read /opt/intel/compiler80/doc/c_ug/index.htm.
madcowswe 15:9c5aaeda36dc 37 */
madcowswe 15:9c5aaeda36dc 38 # if (__INTEL_COMPILER == 800) || (__INTEL_COMPILER > 800)
madcowswe 15:9c5aaeda36dc 39 # define TVMET_NO_IEEE_MATH_ISNAN
madcowswe 15:9c5aaeda36dc 40 # define TVMET_NO_IEEE_MATH_ISINF
madcowswe 15:9c5aaeda36dc 41 # endif
madcowswe 15:9c5aaeda36dc 42
madcowswe 15:9c5aaeda36dc 43
madcowswe 15:9c5aaeda36dc 44 /*
madcowswe 15:9c5aaeda36dc 45 * disable compiler warnings
madcowswe 15:9c5aaeda36dc 46 */
madcowswe 15:9c5aaeda36dc 47 # pragma warning(disable:981) // operands are evaluated in unspecified order
madcowswe 15:9c5aaeda36dc 48
madcowswe 15:9c5aaeda36dc 49
madcowswe 15:9c5aaeda36dc 50 /*
madcowswe 15:9c5aaeda36dc 51 * force inline using gcc's compatibility mode
madcowswe 15:9c5aaeda36dc 52 */
madcowswe 15:9c5aaeda36dc 53 # if (__INTEL_COMPILER == 800) || (__INTEL_COMPILER > 800)
madcowswe 15:9c5aaeda36dc 54 # define TVMET_CXX_ALWAYS_INLINE __attribute__((always_inline))
madcowswe 15:9c5aaeda36dc 55 # endif
madcowswe 15:9c5aaeda36dc 56
madcowswe 15:9c5aaeda36dc 57 #else // !defined(__INTEL_COMPILER)
madcowswe 15:9c5aaeda36dc 58
madcowswe 15:9c5aaeda36dc 59 // paranoia
madcowswe 15:9c5aaeda36dc 60 # warning "config header included without defined __INTEL_COMPILER"
madcowswe 15:9c5aaeda36dc 61
madcowswe 15:9c5aaeda36dc 62 #endif
madcowswe 15:9c5aaeda36dc 63
madcowswe 15:9c5aaeda36dc 64 #endif // TVMET_CONFIG_ICC_H
madcowswe 15:9c5aaeda36dc 65
madcowswe 15:9c5aaeda36dc 66 // Local Variables:
madcowswe 15:9c5aaeda36dc 67 // mode:C++
madcowswe 15:9c5aaeda36dc 68 // tab-width:8
madcowswe 15:9c5aaeda36dc 69 // End: