define M_PI et al
This commit is contained in:
parent
c6b3799b96
commit
bc0ba19e9b
|
@ -20,6 +20,18 @@
|
||||||
#include "ambe3600x2250_const.h"
|
#include "ambe3600x2250_const.h"
|
||||||
#include "ambe3600x2400_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
|
static int
|
||||||
mbe_dequantizeAmbeParms (mbe_parms * cur_mp, mbe_parms * prev_mp, const int *b, int dstar)
|
mbe_dequantizeAmbeParms (mbe_parms * cur_mp, mbe_parms * prev_mp, const int *b, int dstar)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,6 +19,18 @@
|
||||||
#include "mbelib.h"
|
#include "mbelib.h"
|
||||||
#include "mbelib_const.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
|
void
|
||||||
mbe_printVersion (char *str)
|
mbe_printVersion (char *str)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue