index 473f51b0e4929d8ab3cc1e373177d3a1dd55a111..ce0873e5ed37003c7e4c12dd7ae29866870aae0a 100644 (file)
#if defined(WIN32)
#if defined(WIN32)
+#include <math.h>
+
double set_to_DNAN(void) { return (double)fmod(0.0,0.0); }
double set_to_DNAN(void) { return (double)fmod(0.0,0.0); }
-double set_to_DINF(void) { return (double)log(0.0); }
+double set_to_DINF(void) { return (double)fabs((double)log(0.0)); }
#else
#else