Quick Links:

bal | bbl | bdl | bsl

Public Types

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

#include <bslalg_numericformatterutil.h>

List of all members.

Public Types

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

Detailed Description

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

int16_t

base 2: "-1000000000000000"

base 3: "-1122221122"

base 4: "-20000000"

base 5: "-2022033"

base 6: "-411412"

base 7: "-164351"

base 8: "-100000"

base 9: "-48848"

base 10: "-32768"

base 11: "-2268a"

base 12: "-16b68"

base 13: "-11bb8"

base 14: "-bd28"

base 15: "-9a98"

base 16: "-8000"

base 17: "-6b69"

base 18: "-5b28"

base 19: "-4eec"

base 20: "-41i8"

base 21: "-3b68"

base 22: "-31fa"

base 23: "-2flg"

base 24: "-28l8"

base 25: "-22ai"

base 26: "-1mc8"

base 27: "-1hph"

base 28: "-1dm8"

base 29: "-19rr"

base 30: "-16c8"

base 31: "-1331"

base 32: "-1000"

base 33: "-u2w"

base 34: "-sbq"

base 35: "-qq8"

base 36: "-pa8"


Member Enumeration Documentation

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

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