VIGRA - Mathematical Constants

[ VIGRA Homepage | Class Index | Function Index | File Index | 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 (koethe@informatik.uni-hamburg.de) Cognitive Systems Group, University of Hamburg, Germany | html generated using doxygen and Python VIGRA 1.5.0 (7 Dec 2006)