mathdefs.h File Reference

#include <math.h>
Include dependency graph for mathdefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gtm

Defines

#define GTM_PI   3.14159265359
 PI constant.
#define GTM_PI2   6.28318530717
 2 * PI constant.
#define GTM_NE   2.71828182846
 ln1 constant.
#define GTM_MIN(a, b)   ( ( ( a ) < ( b ) )? ( a ): ( b ) )
 Minimum.
#define GTM_MAX(a, b)   ( ( ( a ) > ( b ) )? ( a ): ( b ) )
 Maximum.
#define GTM_POW2(a)   ( ( a ) * ( a ) )

Functions

double gtm::round (double n)

Define Documentation

#define GTM_MAX ( a,
 )     ( ( ( a ) > ( b ) )? ( a ): ( b ) )
#define GTM_MIN ( a,
 )     ( ( ( a ) < ( b ) )? ( a ): ( b ) )
#define GTM_NE   2.71828182846

ln1 constant.

Definition at line 34 of file mathdefs.h.

#define GTM_PI   3.14159265359

PI constant.

Definition at line 30 of file mathdefs.h.

#define GTM_PI2   6.28318530717

2 * PI constant.

Definition at line 32 of file mathdefs.h.

#define GTM_POW2 (  )     ( ( a ) * ( a ) )

Definition at line 40 of file mathdefs.h.


Generated on 20 Oct 2010 for creaMaracasVisu_lib by  doxygen 1.6.1