define M_PI et al

This commit is contained in:
Max 2022-06-05 15:23:31 -04:00
parent c6b3799b96
commit bc0ba19e9b
2 changed files with 24 additions and 0 deletions

View File

@ -20,6 +20,18 @@
#include "ambe3600x2250_const.h"
#include "ambe3600x2400_const.h"
#ifndef M_PI
# define M_PI 3.14159265358979323846 /* pi */
#endif
#ifndef M_E
# define M_E 2.7182818284590452354 /* e */
#endif
#ifndef M_SQRT2
# define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
#endif
static int
mbe_dequantizeAmbeParms (mbe_parms * cur_mp, mbe_parms * prev_mp, const int *b, int dstar)
{

View File

@ -19,6 +19,18 @@
#include "mbelib.h"
#include "mbelib_const.h"
#ifndef M_PI
# define M_PI 3.14159265358979323846 /* pi */
#endif
#ifndef M_E
# define M_E 2.7182818284590452354 /* e */
#endif
#ifndef M_SQRT2
# define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
#endif
void
mbe_printVersion (char *str)
{