Parent Directory | Revision Log | Patch
revision 9 by harbaum, Fri Dec 12 20:06:32 2008 UTC | revision 40 by harbaum, Sun Jan 18 19:43:20 2009 UTC | |
---|---|---|
# | Line 22 | Line 22 |
22 | ||
23 | #include <math.h> | #include <math.h> |
24 | ||
25 | #ifdef USE_FLOAT | |
26 | /* use float instead of double on small machines */ | |
27 | typedef float pos_float_t; | |
28 | #else | |
29 | typedef double pos_float_t; | typedef double pos_float_t; |
30 | #endif | |
31 | ||
32 | #ifndef NAN | #ifndef NAN |
33 | #define NAN (0.0/0.0) | #define NAN (0.0/0.0) |
|