summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed17c25)
raw | patch | inline | side by side (parent: ed17c25)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Jul 2002 10:35:23 +0000 (10:35 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Jul 2002 10:35:23 +0000 (10:35 +0000) |
program/src/rrd_nan_inf.c | patch | blob | history |
index 473f51b0e4929d8ab3cc1e373177d3a1dd55a111..9fc3b616ff010d8d86b2c15b19f71f674c68cb4a 100644 (file)
#if defined(WIN32)
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