Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-08-08 11:42:30


"Peter Schmitteckert (boost)" wrote:
> But it does not weem to work correctly on my Pentium MMX,
> and my Pentium III

> Infinity: 0
> NaN: 0

You need to use

   -DBOOST_NO_LIMITS -D_CPP_NUMERIC_LIMITS

as a hacky workaround when compiling to avoid using the broken
std::numeric_limits<> from GCC's libstdc++.
(see Makefile).

(There's a reason why the test aborts when Infinity == NaN == 0).

Jens Maurer


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