Scippy

SoPlex

Sequential object-oriented simPlex

basic_data< T > Struct Template Reference

#include <format.h>

Static Public Attributes

static const uint64_t powers_of_10_64 []
 
static const uint32_t zero_or_powers_of_10_32 []
 
static const uint64_t zero_or_powers_of_10_64 []
 
static const uint64_t pow10_significands []
 
static const int16_t pow10_exponents []
 
static const char digits []
 
static const char hex_digits [] = "0123456789abcdef"
 
static const char foreground_color [] = "\x1b[38;2;"
 
static const char background_color [] = "\x1b[48;2;"
 
static const char reset_color [5] = "\x1b[0m"
 
static const wchar_t wreset_color [5] = L"\x1b[0m"
 
static const char signs [] = {0, '-', '+', ' '}
 

Detailed Description

template<typename T = void>
struct internal::basic_data< T >

Definition at line 724 of file format.h.

Member Data Documentation

◆ background_color

const char background_color = "\x1b[48;2;"
static

Definition at line 733 of file format.h.

◆ digits

const char digits
static
Initial value:
=
"0001020304050607080910111213141516171819"
"2021222324252627282930313233343536373839"
"4041424344454647484950515253545556575859"
"6061626364656667686970717273747576777879"
"8081828384858687888990919293949596979899"

Definition at line 730 of file format.h.

◆ foreground_color

const char foreground_color = "\x1b[38;2;"
static

Definition at line 732 of file format.h.

◆ hex_digits

const char hex_digits = "0123456789abcdef"
static

Definition at line 731 of file format.h.

◆ pow10_exponents

const int16_t pow10_exponents
static
Initial value:
= {
-1220, -1193, -1166, -1140, -1113, -1087, -1060, -1034, -1007, -980, -954,
-927, -901, -874, -847, -821, -794, -768, -741, -715, -688, -661,
-635, -608, -582, -555, -529, -502, -475, -449, -422, -396, -369,
-343, -316, -289, -263, -236, -210, -183, -157, -130, -103, -77,
-50, -24, 3, 30, 56, 83, 109, 136, 162, 189, 216,
242, 269, 295, 322, 348, 375, 402, 428, 455, 481, 508,
534, 561, 588, 614, 641, 667, 694, 720, 747, 774, 800,
827, 853, 880, 907, 933, 960, 986, 1013, 1039, 1066}

Definition at line 729 of file format.h.

◆ pow10_significands

const uint64_t pow10_significands
static

Definition at line 728 of file format.h.

◆ powers_of_10_64

const uint64_t powers_of_10_64
static
Initial value:
= {
1, FMT_POWERS_OF_10(1), FMT_POWERS_OF_10(1000000000ULL),
10000000000000000000ULL}

Definition at line 725 of file format.h.

◆ reset_color

const char reset_color = "\x1b[0m"
static

Definition at line 734 of file format.h.

◆ signs

const char signs = {0, '-', '+', ' '}
static

Definition at line 736 of file format.h.

◆ wreset_color

const wchar_t wreset_color = L"\x1b[0m"
static

Definition at line 735 of file format.h.

◆ zero_or_powers_of_10_32

const uint32_t zero_or_powers_of_10_32
static
Initial value:

Definition at line 726 of file format.h.

◆ zero_or_powers_of_10_64

const uint64_t zero_or_powers_of_10_64
static
Initial value:
= {
0, FMT_POWERS_OF_10(1), FMT_POWERS_OF_10(1000000000ULL),
10000000000000000000ULL}

Definition at line 727 of file format.h.