Hi,

The file .../msp430/msp430/include/math.h is a little odd, when built from the latest mspgcc for GCC 3.2.

It contains a block of math related defines, including these two:

#define M_PI            3.14159265358979323846  /* pi */
#define M_SQRT2         1.41421356237309504880  /* sqrt(2) */

then near the end of the file they are defined again, a little differently:

#define M_PI 3.141592653589793238462643
#define M_SQRT2 1.4142135623730950488016887

Regards,
Steve


Reply via email to