4 Jul 10:16
Re: Compile time maths/square root?
John Maddock <john <at> johnmaddock.co.uk>
2008-07-04 08:16:33 GMT
2008-07-04 08:16:33 GMT
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. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed