Subject: [boost] [Review Request] Multiprecision Arithmetic Library
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-04-01 11:55:14
I'd like to ask for a formal review of the Multiprecision Arithmetic
Library, currently in the sandbox.
* Expression template enabled front end.
* Support for Integer, Rational and Floating Point types.
Supported Integer backends:
cpp_int is an all C++ Boost licensed backend, supports both arbitrary
precision types (with Allocator support), and signed and unsigned fixed
precision types (with no memory allocation).
There are also some integer specific functions - for Miller Rabin testing,
bit fiddling, random numbers. Plus interoperability with Boost.Rational
(though that loses the expression template frontend).
Supported Rational Backends:
* cpp_int (as above)
Supported Floating point backends:
cpp_dec_float is an all C++ Boost licensed type, adapted from Christopher
Kormanyos' e_float code (published in TOMS last year).
All the floating point types, have full std lib support (cos sin exp, pow
etc), as well as full interoperability with Boost.Math.
There's nothing in principal to prevent extension to complex numbers and
interval arithmetic types (plus any other number types I've forgotten!), but
I've run out of energy for now ;-)
Code is in the sandbox under /big_number/.
Docs can be viewed online here:
And of course, I'm looking for a review manager ;-)
Many thanks, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk