/* fixed.c */
FIXP g_MthConstant_PI, g_MthConstant_2PI, g_MthConstant_E;

void fixInitialiseLibrary(void)
{
   g_MthConstant_PI  = FLOAT_TO_FIXED(3.1415926535f);
   g_MthConstant_2PI = FLOAT_TO_FIXED(6.2831853071f);
   g_MthConstant_E   = FLOAT_TO_FIXED(2.7182818285f);
}

/* fixed.h */
#define MTH_PI          g_MthConstant_PI
#define MTH_2PI         g_MthConstant_2PI
#define MTH_E           g_MthConstant_E

extern FIXP g_MthConstant_PI, g_MthConstant_2PI, g_MthConstant_E;