|
Boost : |
Subject: Re: [boost] Boost.Math and Math Constants
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-12-17 11:34:21
> For what it's worth, I've been doing some experiments with constexpr in
> GCC and it's now possible to compute maximally-precise
> statically-initialized constants for any floating type via series
> expansion, at compile-time. Crazy stuff.
Crazy indeed - can you have loops in such code? Either way I'd love to see
some example code if that's possible,
Cheers, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk