Agora  1.2.0
Agora project
fmt::v8::detail::dragonbox Namespace Reference

Classes

struct  cache_accessor
 
struct  cache_accessor< double >
 
struct  cache_accessor< float >
 
struct  decimal_fp
 
struct  divtest_table_entry
 
struct  float_info
 
struct  float_info< double >
 
struct  float_info< float >
 

Functions

uint128_wrapper umul128 (uint64_t x, uint64_t y) throw ()
 
uint64_t umul128_upper64 (uint64_t x, uint64_t y) throw ()
 
uint64_t umul192_upper64 (uint64_t x, uint128_wrapper y) throw ()
 
uint32_t umul96_upper32 (uint32_t x, uint64_t y) throw ()
 
uint64_t umul192_middle64 (uint64_t x, uint128_wrapper y) throw ()
 
uint64_t umul96_lower64 (uint32_t x, uint64_t y) throw ()
 
int floor_log10_pow2 (int e) throw ()
 
int floor_log2_pow10 (int e) throw ()
 
int floor_log10_pow2_minus_log10_4_over_3 (int e) throw ()
 
bool divisible_by_power_of_2 (uint32_t x, int exp) throw ()
 
bool divisible_by_power_of_2 (uint64_t x, int exp) throw ()
 
bool divisible_by_power_of_5 (uint32_t x, int exp) throw ()
 
bool divisible_by_power_of_5 (uint64_t x, int exp) throw ()
 
template<int N>
bool check_divisibility_and_divide_by_pow5 (uint32_t &n) throw ()
 
template<int N>
uint32_t small_division_by_pow10 (uint32_t n) throw ()
 
uint32_t divide_by_10_to_kappa_plus_1 (uint32_t n) throw ()
 
uint64_t divide_by_10_to_kappa_plus_1 (uint64_t n) throw ()
 
template<class T >
bool is_left_endpoint_integer_shorter_interval (int exponent) throw ()
 
template<class T >
bool is_endpoint_integer (typename float_info< T >::carrier_uint two_f, int exponent, int minus_k) throw ()
 
template<class T >
bool is_center_integer (typename float_info< T >::carrier_uint two_f, int exponent, int minus_k) throw ()
 
int remove_trailing_zeros (uint32_t &n) throw ()
 
int remove_trailing_zeros (uint64_t &n) throw ()
 
template<class T >
decimal_fp< Tshorter_interval_case (int exponent) throw ()
 
template<typename T >
decimal_fp< Tto_decimal (T x) throw ()
 
template<typename T >
auto to_decimal (T x) -> decimal_fp< T > throw ()
 

Function Documentation

◆ check_divisibility_and_divide_by_pow5()

template<int N>
bool fmt::v8::detail::dragonbox::check_divisibility_and_divide_by_pow5 ( uint32_t &  n)
throw (
)
Here is the caller graph for this function:

◆ divide_by_10_to_kappa_plus_1() [1/2]

uint32_t fmt::v8::detail::dragonbox::divide_by_10_to_kappa_plus_1 ( uint32_t  n)
throw (
)
inline
Here is the caller graph for this function:

◆ divide_by_10_to_kappa_plus_1() [2/2]

uint64_t fmt::v8::detail::dragonbox::divide_by_10_to_kappa_plus_1 ( uint64_t  n)
throw (
)
inline
Here is the call graph for this function:

◆ divisible_by_power_of_2() [1/2]

bool fmt::v8::detail::dragonbox::divisible_by_power_of_2 ( uint32_t  x,
int  exp 
)
throw (
)
inline
Here is the caller graph for this function:

◆ divisible_by_power_of_2() [2/2]

bool fmt::v8::detail::dragonbox::divisible_by_power_of_2 ( uint64_t  x,
int  exp 
)
throw (
)
inline

◆ divisible_by_power_of_5() [1/2]

bool fmt::v8::detail::dragonbox::divisible_by_power_of_5 ( uint32_t  x,
int  exp 
)
throw (
)
inline
Here is the caller graph for this function:

◆ divisible_by_power_of_5() [2/2]

bool fmt::v8::detail::dragonbox::divisible_by_power_of_5 ( uint64_t  x,
int  exp 
)
throw (
)
inline

◆ floor_log10_pow2()

int fmt::v8::detail::dragonbox::floor_log10_pow2 ( int  e)
throw (
)
inline
Here is the caller graph for this function:

◆ floor_log10_pow2_minus_log10_4_over_3()

int fmt::v8::detail::dragonbox::floor_log10_pow2_minus_log10_4_over_3 ( int  e)
throw (
)
inline
Here is the caller graph for this function:

◆ floor_log2_pow10()

int fmt::v8::detail::dragonbox::floor_log2_pow10 ( int  e)
throw (
)
inline
Here is the caller graph for this function:

◆ is_center_integer()

template<class T >
bool fmt::v8::detail::dragonbox::is_center_integer ( typename float_info< T >::carrier_uint  two_f,
int  exponent,
int  minus_k 
)
throw (
)
Here is the call graph for this function:

◆ is_endpoint_integer()

template<class T >
bool fmt::v8::detail::dragonbox::is_endpoint_integer ( typename float_info< T >::carrier_uint  two_f,
int  exponent,
int  minus_k 
)
throw (
)
Here is the call graph for this function:

◆ is_left_endpoint_integer_shorter_interval()

template<class T >
bool fmt::v8::detail::dragonbox::is_left_endpoint_integer_shorter_interval ( int  exponent)
throw (
)

◆ remove_trailing_zeros() [1/2]

int fmt::v8::detail::dragonbox::remove_trailing_zeros ( uint32_t &  n)
throw (
)
inline
Here is the caller graph for this function:

◆ remove_trailing_zeros() [2/2]

int fmt::v8::detail::dragonbox::remove_trailing_zeros ( uint64_t &  n)
throw (
)
inline

◆ shorter_interval_case()

template<class T >
decimal_fp<T> fmt::v8::detail::dragonbox::shorter_interval_case ( int  exponent)
throw (
)
inline
Here is the call graph for this function:

◆ small_division_by_pow10()

template<int N>
uint32_t fmt::v8::detail::dragonbox::small_division_by_pow10 ( uint32_t  n)
throw (
)

◆ to_decimal() [1/2]

template<typename T >
decimal_fp<T> fmt::v8::detail::dragonbox::to_decimal ( T  x)
throw (
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_decimal() [2/2]

template<typename T >
auto fmt::v8::detail::dragonbox::to_decimal ( T  x) -> decimal_fp< T >
throw (
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ umul128()

uint128_wrapper fmt::v8::detail::dragonbox::umul128 ( uint64_t  x,
uint64_t  y 
)
throw (
)
inline
Here is the caller graph for this function:

◆ umul128_upper64()

uint64_t fmt::v8::detail::dragonbox::umul128_upper64 ( uint64_t  x,
uint64_t  y 
)
throw (
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ umul192_middle64()

uint64_t fmt::v8::detail::dragonbox::umul192_middle64 ( uint64_t  x,
uint128_wrapper  y 
)
throw (
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ umul192_upper64()

uint64_t fmt::v8::detail::dragonbox::umul192_upper64 ( uint64_t  x,
uint128_wrapper  y 
)
throw (
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ umul96_lower64()

uint64_t fmt::v8::detail::dragonbox::umul96_lower64 ( uint32_t  x,
uint64_t  y 
)
throw (
)
inline
Here is the caller graph for this function:

◆ umul96_upper32()

uint32_t fmt::v8::detail::dragonbox::umul96_upper32 ( uint32_t  x,
uint64_t  y 
)
throw (
)
inline
Here is the call graph for this function:
Here is the caller graph for this function: