
25 Feb
2008
25 Feb
'08
6:32 p.m.
Johan RĂ¥de wrote:
Guillaume Melquiond wrote:
Concerning isinf, I'm missing the feature of the glibc C library. Since C99/Posix mandates an int as the return type (of the non-macro version), the glibc returns 1 or -1 depending on the sign of the infinity. This is quite nice, and compatible with the standard.
I'll have to think about that. Spontaneously I'm a bit sceptical of functions that do several different things at the same time.
Indeed, and the TR1 version of isinf returns a bool. John.