HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
hr::bignum Struct Reference

Public Member Functions

 bignum (int i)
 
void be (int i)
 
bignumoperator+= (const bignum &b)
 
void addmul (const bignum &b, int factor)
 
string get_str (int max_length) const
 
 bignum (ld d)
 
bool operator< (const bignum &) const
 
bool operator> (const bignum &b) const
 
ld leading () const
 
ld approx () const
 
ld log_approx () const
 
ld approx_div (const bignum &b) const
 
int approx_int () const
 
bool nonzero ()
 
bignum randomized_div (int x) const
 
ld approx_ld () const
 
long long approx_ll () const
 

Public Attributes

vector< int > digits
 

Static Public Attributes

static const int BASE = 1000000000
 
static const long long BASE2 = BASE * (long long)BASE
 

Friends

bignum operator+ (bignum a, const bignum &b)
 
bignum operator- (bignum a, const bignum &b)
 

The documentation for this struct was generated from the following file: