Main Page | Class Hierarchy | Class List | File List | Class Members

mylimits.h

00001 /***************************************************************************
00002                           mylimits.h  -  description
00003                              -------------------
00004     begin                : Sat Mar 1 2003
00005     copyright            : (C) 2003 by Moritz Franosch
00006     email                : mail@Franosch.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef MYLIMITS_H
00019 #define MYLIMITS_H
00020 
00021 
00022 #include <cmath>
00023 
00024 #ifdef _CPP_NUMERIC_LIMITS
00025 #error <limits> has already been included
00026 #endif
00027 
00028 // workaround for braindamaged defaults of g++3.2
00029 #define __glibcpp_float_quiet_NaN NAN
00030 #define __glibcpp_float_infinity INFINITY
00031 #define __glibcpp_double_quiet_NaN NAN
00032 #define __glibcpp_double_infinity INFINITY
00033 
00034 #include <limits>
00035 
00036 
00037 #endif // MYLIMITS_H

Generated on Fri Apr 22 11:06:42 2005 for partsim.kdevelop by doxygen 1.3.6