Mercurial > libavcodec.hg
comparison eval.c @ 3753:82ceab4ada49 libavcodec
Define NAN -if not already defined- as 0.0/0.0
| author | takis |
|---|---|
| date | Sat, 23 Sep 2006 08:50:50 +0000 |
| parents | 8b8773577dd9 |
| children | 6f219b6839ba |
comparison
equal
deleted
inserted
replaced
| 3752:32b2da1060ea | 3753:82ceab4ada49 |
|---|---|
| 33 #include <stdlib.h> | 33 #include <stdlib.h> |
| 34 #include <string.h> | 34 #include <string.h> |
| 35 #include <math.h> | 35 #include <math.h> |
| 36 | 36 |
| 37 #ifndef NAN | 37 #ifndef NAN |
| 38 #define NAN 0 | 38 #define NAN 0.0/0.0 |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #ifndef M_PI | 41 #ifndef M_PI |
| 42 #define M_PI 3.14159265358979323846 | 42 #define M_PI 3.14159265358979323846 |
| 43 #endif | 43 #endif |
