[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
vigra/mathutil.hxx | ![]() |
---|
00001 /************************************************************************/ 00002 /* */ 00003 /* Copyright 1998-2002 by Ullrich Koethe */ 00004 /* Cognitive Systems Group, University of Hamburg, Germany */ 00005 /* */ 00006 /* This file is part of the VIGRA computer vision library. */ 00007 /* ( Version 1.2.0, Aug 07 2003 ) */ 00008 /* You may use, modify, and distribute this software according */ 00009 /* to the terms stated in the LICENSE file included in */ 00010 /* the VIGRA distribution. */ 00011 /* */ 00012 /* The VIGRA Website is */ 00013 /* http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/ */ 00014 /* Please direct questions, bug reports, and contributions to */ 00015 /* koethe@informatik.uni-hamburg.de */ 00016 /* */ 00017 /* THIS SOFTWARE IS PROVIDED AS IS AND WITHOUT ANY EXPRESS OR */ 00018 /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ 00019 /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ 00020 /* */ 00021 /************************************************************************/ 00022 00023 #ifndef VIGRA_MATHUTIL_HXX 00024 #define VIGRA_MATHUTIL_HXX 00025 00026 00027 /*! \page MathConstants Mathematical Constants 00028 00029 <TT>M_PI, M_SQRT2</TT> 00030 00031 <b>\#include</b> "<a href="utilities_8hxx-source.html">vigra/utilities.hxx</a>" 00032 00033 Since <TT>M_PI</TT> and <TT>M_SQRT2</TT> are not officially standardized, 00034 we provide definitions here for those compilers that don't support them. 00035 00036 \code 00037 #ifndef M_PI 00038 # define M_PI 3.14159265358979323846 00039 #endif 00040 00041 #ifndef M_SQRT2 00042 # define M_SQRT2 1.41421356237309504880 00043 #endif 00044 \endcode 00045 */ 00046 #ifndef M_PI 00047 # define M_PI 3.14159265358979323846 00048 #endif 00049 00050 #ifndef M_SQRT2 00051 # define M_SQRT2 1.41421356237309504880 00052 #endif 00053 00054 00055 #endif /* VIGRA_MATHUTIL_HXX */
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|