Some macro definitions in Math.h
#define M_E 2.7182818284
#define M_PI 3.141592653
#define M_SQRT2 1.4142135
In your program, instead of using numerical numbers, you can use the symbolic names for the constants. E.g.
X = sin(M_PI/4);
y = pow(M_E, x);
Previous slide
Next slide
Back to first slide
View graphic version