Quick Links:

bal | bbl | bdl | bsl

Public Types

bslalg::NumericFormatterUtil::IntMaxLen< true, 1, BASE > Struct Template Reference

#include <bslalg_numericformatterutil.h>

List of all members.

Public Types

enum  Enum { k_VALUE = (BASE == 2) ? 9 : (BASE == 3) ? 6 : (BASE == 4) ? 5 : (BASE == 5) ? 5 : (BASE == 6) ? 4 : (BASE == 7) ? 4 : (BASE == 8) ? 4 : (BASE == 9) ? 4 : (BASE == 10) ? 4 : (BASE == 11) ? 4 : (BASE == 12) ? 3 : (BASE == 13) ? 3 : (BASE == 14) ? 3 : (BASE == 15) ? 3 : (BASE == 16) ? 3 : (BASE == 17) ? 3 : (BASE == 18) ? 3 : (BASE == 19) ? 3 : (BASE == 20) ? 3 : (BASE == 21) ? 3 : (BASE == 22) ? 3 : (BASE == 23) ? 3 : (BASE == 24) ? 3 : (BASE == 25) ? 3 : (BASE == 26) ? 3 : (BASE == 27) ? 3 : (BASE == 28) ? 3 : (BASE == 29) ? 3 : (BASE == 30) ? 3 : (BASE == 31) ? 3 : (BASE == 32) ? 3 : (BASE == 33) ? 3 : (BASE == 34) ? 3 : (BASE == 35) ? 3 : (BASE == 36) ? 3 : 4 }

Detailed Description

template<int BASE>
struct bslalg::NumericFormatterUtil::IntMaxLen< true, 1, BASE >

int8_t

base 2: "-10000000"

base 3: "-11202"

base 4: "-2000"

base 5: "-1003"

base 6: "-332"

base 7: "-242"

base 8: "-200"

base 9: "-152"

base 10: "-128"

base 11: "-107"

base 12: "-a8"

base 13: "-9b"

base 14: "-92"

base 15: "-88"

base 16: "-80"

base 17: "-79"

base 18: "-72"

base 19: "-6e"

base 20: "-68"

base 21: "-62"

base 22: "-5i"

base 23: "-5d"

base 24: "-58"

base 25: "-53"

base 26: "-4o"

base 27: "-4k"

base 28: "-4g"

base 29: "-4c"

base 30: "-48"

base 31: "-44"

base 32: "-40"

base 33: "-3t"

base 34: "-3q"

base 35: "-3n"

base 36: "-3k"


Member Enumeration Documentation

template<int BASE>
enum bslalg::NumericFormatterUtil::IntMaxLen< true, 1, BASE >::Enum
Enumerator:
k_VALUE 

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