#include <string>
#include <stdexcept>
#include <cmath>
#include <cctype>
#include <mpn.h>
Namespaces | |
namespace | mp |
Functions | |
string::size_type | isNum (const string &s, radix_type b) |
Count the number of digits in a valid number. | |
radix_type | guessbase (const string &s, radix_type b) |
Guess the base of a number in a string. | |
char | isPow2 (char b) |
void | setchunk (mpn_::radix_type b, string::size_type &chunksize, mpn_::limb_type &chunk) |
void | stringclean (string &s, mpn_::radix_type b, int clear_zero) |
Clean out the strings that will be converted with mpn_::setString(). |
|
|
|
|