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 operations using jump tables for O(1) dispatch. 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) noexcept
 
char * prettify (char *buffer, int length, int k) noexcept
 
void grisuRound (char *buffer, int length, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w) noexcept
 
constexpr int digitsCount (uint32_t n) noexcept
 
void digitsGen (const DiyFp &W, const DiyFp &Mp, uint64_t delta, char *buffer, int &length, int &k) noexcept
 
void grisu2 (char *buffer, int &length, int &k, double value) noexcept
 

Variables

constexpr Power atodpow []
 
constexpr uint32_t pow10 [] = {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000}
 
constexpr DiyFp dtoapow []
 
constexpr char digitPairs [201]
 
constexpr UnescapedTable unescapedLookup {}
 
constexpr EscapedTable escapedLookup {}
 
constexpr WhitespaceTable whitespaceLookup {}
 

Function Documentation

◆ digitsCount()

int join::details::digitsCount ( uint32_t n)
constexprnoexcept

◆ digitsGen()

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

◆ grisu2()

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

◆ grisuRound()

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

◆ prettify()

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

◆ writeExponent()

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

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

◆ pow10

uint32_t join::details::pow10[] = {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000}
constexpr

◆ unescapedLookup

UnescapedTable join::details::unescapedLookup {}
constexpr

◆ whitespaceLookup

WhitespaceTable join::details::whitespaceLookup {}
constexpr