#include <big-int/bigint.hh>
#include <ostream>
#include <string>
Go to the source code of this file.
◆ binary2integer()
| const BigInt binary2integer |
( |
const std::string & | n, |
|
|
bool | is_signed ) |
convert binary string representation to BigInt
- parameters: string of '0'/'1', most significant bit first
- Returns
- BigInt
◆ integer2binary()
- Returns
- string of '0'/'1', most significant bit first
◆ integer2string()
| const std::string integer2string |
( |
const BigInt & | n, |
|
|
unsigned | base = 10 ) |
◆ operator<<() [1/2]
◆ operator<<() [2/2]
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const BigInt & | n ) |
◆ operator>>()
◆ string2integer()
| const BigInt string2integer |
( |
const std::string & | n, |
|
|
unsigned | base ) |
- parameters: string of '0'-'9' etc. most significant digit first
- base of number representation
- Returns
- BigInt