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

#include <format-inl.h>

Public Member Functions

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

Friends

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

Detailed Description

Definition at line 363 of file format-inl.h.

Constructor & Destructor Documentation

detail::bigint::bigint ( )
inline

Definition at line 433 of file format-inl.h.

detail::bigint::bigint ( uint64_t  n)
inlineexplicit

Definition at line 434 of file format-inl.h.

detail::bigint::~bigint ( )
inline

Definition at line 435 of file format-inl.h.

detail::bigint::bigint ( const bigint )
delete

Member Function Documentation

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

Definition at line 573 of file format-inl.h.

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

Definition at line 440 of file format-inl.h.

void detail::bigint::assign ( uint64_t  n)
inline

Definition at line 448 of file format-inl.h.

void detail::bigint::assign_pow10 ( int  exp)
inline

Definition at line 522 of file format-inl.h.

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

Definition at line 586 of file format-inl.h.

int detail::bigint::num_bigits ( ) const
inline

Definition at line 458 of file format-inl.h.

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

Definition at line 475 of file format-inl.h.

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

Definition at line 460 of file format-inl.h.

void detail::bigint::operator= ( const bigint )
delete
void detail::bigint::square ( )
inline

Definition at line 541 of file format-inl.h.

Friends And Related Function Documentation

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

Definition at line 498 of file format-inl.h.

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

Definition at line 481 of file format-inl.h.

friend struct formatter< bigint >
friend

Definition at line 378 of file format-inl.h.


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