Boost logo

Boost :

Subject: Re: [boost] Is there a macro to test ifstd::numerc_limits<>::max_digits10 is supported by a platform?
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-06-16 06:48:51


Hi Paul,

On Thursday, 14. June 2012 13:26:20 Paul A. Bristow wrote:
> > -----Original Message-----
> > From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> > On Behalf Of John Maddock
> >
> > Try BOOST_NO_NUMERIC_LIMITS_LOWEST as a proxy?
>
> OK, but I'm on holiday for a while so I'll wait until I get back before I
> create more trouble ;-)
>
> Anyone trying multiprecision and wanting this feature can patch their
> \boost-trunk\boost\test\tools\impl.hpp locally.

I've tested BOOST_NO_NUMERIC_LIMITS_LOWEST with gcc-4.6.3 on Linux and this
seems to work.

Patch attached.

I'd like to commit it and check the test results for breaks. Or is a special
macro needed here?

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             !  Germany



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