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

Classes

struct  divtest_table_entry
 
struct  cache_accessor
 
struct  cache_accessor< float >
 
struct  cache_accessor< double >
 

Functions

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

Function Documentation

template<int N>
bool detail::dragonbox::check_divisibility_and_divide_by_pow5 ( uint32_t &  n)

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

uint32_t detail::dragonbox::divide_by_10_to_kappa_plus_1 ( uint32_t  n)
inline

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

uint64_t detail::dragonbox::divide_by_10_to_kappa_plus_1 ( uint64_t  n)
inline

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

bool detail::dragonbox::divisible_by_power_of_2 ( uint32_t  x,
int  exp 
)
inline

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

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

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

bool detail::dragonbox::divisible_by_power_of_5 ( uint32_t  x,
int  exp 
)
inline

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

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

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

int detail::dragonbox::floor_log10_pow2 ( int  e)
inline

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

int detail::dragonbox::floor_log10_pow2_minus_log10_4_over_3 ( int  e)
inline

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

int detail::dragonbox::floor_log2_pow10 ( int  e)
inline

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

template<class T >
bool detail::dragonbox::is_center_integer ( typename float_info< T >::carrier_uint  two_f,
int  exponent,
int  minus_k 
)

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

template<class T >
bool detail::dragonbox::is_endpoint_integer ( typename float_info< T >::carrier_uint  two_f,
int  exponent,
int  minus_k 
)

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

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

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

FMT_INLINE int detail::dragonbox::remove_trailing_zeros ( uint32_t &  n)

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

FMT_INLINE int detail::dragonbox::remove_trailing_zeros ( uint64_t &  n)

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

template<class T >
FMT_INLINE decimal_fp<T> detail::dragonbox::shorter_interval_case ( int  exponent)

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

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

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

template<typename T >
decimal_fp<T> detail::dragonbox::to_decimal ( x)

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

uint128_wrapper detail::dragonbox::umul128 ( uint64_t  x,
uint64_t  y 
)
inline

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

uint64_t detail::dragonbox::umul128_upper64 ( uint64_t  x,
uint64_t  y 
)
inline

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

uint64_t detail::dragonbox::umul192_middle64 ( uint64_t  x,
uint128_wrapper  y 
)
inline

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

uint64_t detail::dragonbox::umul192_upper64 ( uint64_t  x,
uint128_wrapper  y 
)
inline

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

uint64_t detail::dragonbox::umul96_lower64 ( uint32_t  x,
uint64_t  y 
)
inline

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

uint32_t detail::dragonbox::umul96_upper32 ( uint32_t  x,
uint64_t  y 
)
inline

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