VIGRA - VIGRA: Mathematical Constants

[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

Mathematical Constants |

`M_PI, M_SQRT2`

#include <vigra/mathutil.hxx>

Since `M_PI` and `M_SQRT2` are not officially standardized, we provide definitions here for those compilers that don't support them.

        #ifndef M_PI
        #    define M_PI     3.14159265358979323846
        #endif

        #ifndef M_SQRT2
        #    define M_SQRT2  1.41421356237309504880
        #endif

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany | html generated using doxygen and Python VIGRA 1.6.0 (13 Aug 2008)