|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2008-07-04 04:16:33
Joseph Gauterin wrote:
>> Does boost have a library of compile time maths functions? I've only
>> been able to find GCD and LCM algorithms
>> (boost/math/common_factor.hpp)
>> If such a library exists, it would be worth adding a summary of them
>> to /libs/math/doc/html/index.html
We don't have anything official for that.
>> In paticular, I was looking for a compile time integer square root
>> function.
There was a start made on a "meta" maths library in the Vault:
http://www.boostpro.com/vault/index.php?PHPSESSID=a8e7926b41bab908da59cd1b0297a8f4&direction=0&order=&directory=Template%20Metaprogramming
which covers this kind of ground I think - not sure about integer sqrt
though.
HTH, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk