|
Boost : |
From: Gabriel Dos Reis (Gabriel.Dos-Reis_at_[hidden])
Date: 2000-03-08 19:17:01
jsiek_at_[hidden] writes:
| Jens Maurer writes:
| >
| > It is. Roll your own interval_traits<>::infinity() if
| > you want exceptions. We may want to tighten the specs
| > so that interval_traits::infinity() and ...::nan()
| > are always called if the arguments produce that result,
| > so that we are independent on the (implementation-defined)
| > behaviour of the underlying "double" or whatever.
|
| Cool, and how about including this alternate traits class
| in the boost distribution (but of course not as the default)
numeric_limits<>::traps
-- Gaby
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk