join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::details Namespace Reference

Classes

struct  _byteswap
 
struct  _byteswap< double, 8 >
 
struct  _byteswap< float, 4 >
 
struct  _byteswap< Type, 1 >
 
struct  _byteswap< Type, 2 >
 
struct  _byteswap< Type, 4 >
 
struct  _byteswap< Type, 8 >
 
struct  _swap
 
struct  EscapedTable
 
struct  is_first_default_constructible
 check that first alternative is default constructible. More...
 
struct  lessNoCase
 
struct  Power
 
struct  UnescapedTable
 
struct  VariantHelper
 helper class for variant creation/deletion. More...
 
struct  VariantHelper< First, Ts... >
 helper class for recursive operations. More...
 
struct  VariantHelper< Last >
 helper class for recursive operations. More...
 
struct  VariantStorage
 helper class representing a variant storage in order to be able to disable default/copy/move constructors/operators. More...
 
struct  WhitespaceTable
 

Functions

char * writeExponent (char *buffer, int k)
 
char * prettify (char *buffer, int length, int k)
 
void grisuRound (char *buffer, int length, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)
 
size_t digitsCount (uint32_t n)
 
void digitsGen (DiyFp W, DiyFp Mp, uint64_t delta, char *buffer, int &length, int &k)
 
int kComputation (int exp, int alpha)
 
void grisu2 (char *buffer, int &length, int &k, double value)
 

Variables

constexpr Power atodpow []
 
constexpr DiyFp dtoapow []
 
constexpr char digitPairs [201]
 
constexpr UnescapedTable unescapedLookup {}
 
constexpr EscapedTable escapedLookup {}
 
constexpr WhitespaceTable whitespaceLookup {}
 

Function Documentation

◆ digitsCount()

size_t join::details::digitsCount ( uint32_t n)
inline

◆ digitsGen()

void join::details::digitsGen ( DiyFp W,
DiyFp Mp,
uint64_t delta,
char * buffer,
int & length,
int & k )
inline

◆ grisu2()

void join::details::grisu2 ( char * buffer,
int & length,
int & k,
double value )
inline

◆ grisuRound()

void join::details::grisuRound ( char * buffer,
int length,
uint64_t delta,
uint64_t rest,
uint64_t ten_kappa,
uint64_t wp_w )
inline

◆ kComputation()

int join::details::kComputation ( int exp,
int alpha )
inline

◆ prettify()

char * join::details::prettify ( char * buffer,
int length,
int k )
inline

◆ writeExponent()

char * join::details::writeExponent ( char * buffer,
int k )
inline

Variable Documentation

◆ atodpow

Power join::details::atodpow[]
constexpr

◆ digitPairs

char join::details::digitPairs[201]
constexpr
Initial value:
= {
"00010203040506070809"
"10111213141516171819"
"20212223242526272829"
"30313233343536373839"
"40414243444546474849"
"50515253545556575859"
"60616263646566676869"
"70717273747576777879"
"80818283848586878889"
"90919293949596979899"
}

◆ dtoapow

DiyFp join::details::dtoapow[]
constexpr

◆ escapedLookup

EscapedTable join::details::escapedLookup {}
constexpr

◆ unescapedLookup

UnescapedTable join::details::unescapedLookup {}
constexpr

◆ whitespaceLookup

WhitespaceTable join::details::whitespaceLookup {}
constexpr