spdlog
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
data Struct Reference

Detailed Description

Definition at line 897 of file format.h.

#include <format.h>

Inheritance diagram for data:
[legend]

Static Public Attributes

static const uint64_t log10_2_significand = 0x4d104d427de7fbcc
 
static FMT_API constexpr const char digits [100][2]
 
static FMT_API constexpr const char hex_digits [] = "0123456789abcdef"
 
static FMT_API constexpr const char signs [4] = {0, '-', '+', ' '}
 
static FMT_API constexpr const unsigned prefixes [4]
 
static FMT_API constexpr const char left_padding_shifts [5]
 
static FMT_API constexpr const char right_padding_shifts [5]
 

Member Data Documentation

◆ digits

template<typename T >
constexpr const char basic_data< T >::digits
staticconstexprinherited
Initial value:
= {
{'0', '0'}, {'0', '1'}, {'0', '2'}, {'0', '3'}, {'0', '4'}, {'0', '5'},
{'0', '6'}, {'0', '7'}, {'0', '8'}, {'0', '9'}, {'1', '0'}, {'1', '1'},
{'1', '2'}, {'1', '3'}, {'1', '4'}, {'1', '5'}, {'1', '6'}, {'1', '7'},
{'1', '8'}, {'1', '9'}, {'2', '0'}, {'2', '1'}, {'2', '2'}, {'2', '3'},
{'2', '4'}, {'2', '5'}, {'2', '6'}, {'2', '7'}, {'2', '8'}, {'2', '9'},
{'3', '0'}, {'3', '1'}, {'3', '2'}, {'3', '3'}, {'3', '4'}, {'3', '5'},
{'3', '6'}, {'3', '7'}, {'3', '8'}, {'3', '9'}, {'4', '0'}, {'4', '1'},
{'4', '2'}, {'4', '3'}, {'4', '4'}, {'4', '5'}, {'4', '6'}, {'4', '7'},
{'4', '8'}, {'4', '9'}, {'5', '0'}, {'5', '1'}, {'5', '2'}, {'5', '3'},
{'5', '4'}, {'5', '5'}, {'5', '6'}, {'5', '7'}, {'5', '8'}, {'5', '9'},
{'6', '0'}, {'6', '1'}, {'6', '2'}, {'6', '3'}, {'6', '4'}, {'6', '5'},
{'6', '6'}, {'6', '7'}, {'6', '8'}, {'6', '9'}, {'7', '0'}, {'7', '1'},
{'7', '2'}, {'7', '3'}, {'7', '4'}, {'7', '5'}, {'7', '6'}, {'7', '7'},
{'7', '8'}, {'7', '9'}, {'8', '0'}, {'8', '1'}, {'8', '2'}, {'8', '3'},
{'8', '4'}, {'8', '5'}, {'8', '6'}, {'8', '7'}, {'8', '8'}, {'8', '9'},
{'9', '0'}, {'9', '1'}, {'9', '2'}, {'9', '3'}, {'9', '4'}, {'9', '5'},
{'9', '6'}, {'9', '7'}, {'9', '8'}, {'9', '9'}}

Definition at line 862 of file format.h.

◆ hex_digits

template<typename T >
constexpr const char basic_data< T >::hex_digits = "0123456789abcdef"
staticconstexprinherited

Definition at line 881 of file format.h.

◆ left_padding_shifts

template<typename T >
constexpr const char basic_data< T >::left_padding_shifts
staticconstexprinherited
Initial value:
= {31, 31, 0, 1,
0}

Definition at line 885 of file format.h.

◆ log10_2_significand

template<typename T = void>
const uint64_t basic_data< T >::log10_2_significand = 0x4d104d427de7fbcc
staticinherited

Definition at line 859 of file format.h.

◆ prefixes

template<typename T >
constexpr const unsigned basic_data< T >::prefixes
staticconstexprinherited
Initial value:
= {0, 0, 0x1000000u | '+',
0x1000000u | ' '}

Definition at line 883 of file format.h.

◆ right_padding_shifts

template<typename T >
constexpr const char basic_data< T >::right_padding_shifts
staticconstexprinherited
Initial value:
= {0, 31, 0, 1,
0}

Definition at line 887 of file format.h.

◆ signs

template<typename T >
constexpr const char basic_data< T >::signs = {0, '-', '+', ' '}
staticconstexprinherited

Definition at line 882 of file format.h.


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