|
Boost : |
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-10-31 12:30:59
Paolo Carlini <pcarlini_at_[hidden]> writes:
| I mean, everything *really* boils down to the <limits> header for
| doubles...
It IS an *error* to use numeric_limits<>::infinity() without checking
numeric_limits<>::has_infinity: Not all plateforms support that
notion; and in effect, that is one of the reasons why it took so long
to implement it correctly in the compiler + library.
-- Gaby
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk