On Tue, 3 Mar 2009, Iain Hibbert wrote:
surely that was wrong in the first place anyway? HUGE_VAL is a valid number and the invalid input is signalled when (errno == ERANGE && (r == HUGE_VAL || r == -HUGE_VAL || r == 0)) but you could just test for ERANGE, after all thats what the function was doing in the first place..?
$ grep HUGE_VAL include/math.h /* 7.12#3 HUGE_VAL, HUGELF, HUGE_VALL */ #define HUGE_VAL __infinity.__val -- Michael L. Hitch mhitch%montana.edu@localhost Computer Consultant Information Technology Center Montana State University Bozeman, MT USA