Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-22 13:57:21


From: "David Abrahams" <abrahams_at_[hidden]>

> If we believe Matt Austern's assertions about rounding, then it seems to
me
> that the numeric_limits-like template is essential, and it shouldn't just
be
> a wrapper over the abovve interface.

Why? Doesn't implementation (3) in my original message,

namespace boost
{
    unsigned char _pi[] = { platform-dependent values here };
    double const & pi = *(double*)_pi;
}

address the rounding issue?

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk