HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bigint Class Reference

#include <format.h>

Public Member Functions

FMT_CONSTEXPR20 bigint ()
 
 bigint (uint64_t n)
 
 bigint (const bigint &)=delete
 
void operator= (const bigint &)=delete
 
FMT_CONSTEXPR20 void assign (const bigint &other)
 
template<typename Int >
FMT_CONSTEXPR20 void operator= (Int n)
 
FMT_CONSTEXPR20 int num_bigits () const
 
FMT_NOINLINE FMT_CONSTEXPR20
bigint
operator<<= (int shift)
 
template<typename Int >
FMT_CONSTEXPR20 bigintoperator*= (Int value)
 
FMT_CONSTEXPR20 void assign_pow10 (int exp)
 
FMT_CONSTEXPR20 void square ()
 
FMT_CONSTEXPR20 void align (const bigint &other)
 
FMT_CONSTEXPR20 int divmod_assign (const bigint &divisor)
 

Friends

struct formatter< bigint >
 
FMT_CONSTEXPR20 int compare (const bigint &lhs, const bigint &rhs)
 
FMT_CONSTEXPR20 int add_compare (const bigint &lhs1, const bigint &lhs2, const bigint &rhs)
 

Detailed Description

Definition at line 3011 of file format.h.

Constructor & Destructor Documentation

FMT_CONSTEXPR20 bigint::bigint ( )
inline

Definition at line 3101 of file format.h.

bigint::bigint ( uint64_t  n)
inlineexplicit

Definition at line 3102 of file format.h.

bigint::bigint ( const bigint )
delete

Member Function Documentation

FMT_CONSTEXPR20 void bigint::align ( const bigint other)
inline

Definition at line 3237 of file format.h.

FMT_CONSTEXPR20 void bigint::assign ( const bigint other)
inline

Definition at line 3107 of file format.h.

FMT_CONSTEXPR20 void bigint::assign_pow10 ( int  exp)
inline

Definition at line 3188 of file format.h.

FMT_CONSTEXPR20 int bigint::divmod_assign ( const bigint divisor)
inline

Definition at line 3250 of file format.h.

FMT_CONSTEXPR20 int bigint::num_bigits ( ) const
inline

Definition at line 3120 of file format.h.

template<typename Int >
FMT_CONSTEXPR20 bigint& bigint::operator*= ( Int  value)
inline

Definition at line 3139 of file format.h.

FMT_NOINLINE FMT_CONSTEXPR20 bigint& bigint::operator<<= ( int  shift)
inline

Definition at line 3124 of file format.h.

void bigint::operator= ( const bigint )
delete
template<typename Int >
FMT_CONSTEXPR20 void bigint::operator= ( Int  n)
inline

Definition at line 3115 of file format.h.

FMT_CONSTEXPR20 void bigint::square ( )
inline

Definition at line 3207 of file format.h.

Friends And Related Function Documentation

FMT_CONSTEXPR20 int add_compare ( const bigint lhs1,
const bigint lhs2,
const bigint rhs 
)
friend

Definition at line 3162 of file format.h.

FMT_CONSTEXPR20 int compare ( const bigint lhs,
const bigint rhs 
)
friend

Definition at line 3145 of file format.h.

friend struct formatter< bigint >
friend

Definition at line 3030 of file format.h.


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