Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure (alpha-current): floating point exception 8

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
#define HUGE_VAL        __infinity.__val

Michael L. Hitch              
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA

Home | Main Index | Thread Index | Old Index