
"Maarten Kronenburg" <M.Kronenburg@inter.nl.net> wrote in message news:e5254e$tba$1@sea.gmane.org...
In the boost vault http://boost-consulting.com/vault/ under Math - Numerics the document infintdraft.pdf contains the Proposal for an Infinite Precision Integer for Library Technical Report 2, Draft.
There's a few members that I'd really like to see. First, an operator unspecified_bool_type(), like the one found in shared_ptr. There's a lot of code that looks like the following: long x = doSomething(); if (x) { //whatever. If integer is going to be a drop-in replacement for long then it should have this functionality. Second, it would be very nice if we could have a two-parameter constructor for emulating scientific notation: integer googol(1, 100); I'm not sure how technically feasible this second one is, but it would certainly be useful. Joe Gottman