|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2008-02-25 13:32:16
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk