1 /*============================================================================= 2 Copyright (c) 2011 Jan Frederick Eick 3 4 Distributed under the Boost Software License, Version 1.0. (See accompanying 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 =============================================================================*/ 7 8 #if !defined(BOOST_SPIRIT_TEST_X3_UINT4_HPP) 9 #define BOOST_SPIRIT_TEST_X3_UINT4_HPP 10 11 /////////////////////////////////////////////////////////////////////////////// 12 // 13 // *** BEWARE PLATFORM DEPENDENT!!! *** 14 // *** The following assumes 32 bit integers and 64 bit long longs. 15 // *** Modify these constant strings when appropriate. 16 // 17 /////////////////////////////////////////////////////////////////////////////// 18 19 char const* max_unsigned_base3 = "102002022201221111210"; 20 char const* unsigned_overflow_base3 = "102002022201221111211"; 21 char const* digit_overflow_base3 = "1020020222012211112100"; 22 23 char const* max_unsigned_base4 = "3333333333333333"; 24 char const* digit_overflow_base4 = "33333333333333330"; 25 26 char const* max_unsigned_base5 = "32244002423140"; 27 char const* unsigned_overflow_base5 = "32244002423141"; 28 char const* digit_overflow_base5 = "322440024231400"; 29 30 char const* max_unsigned_base6 = "1550104015503"; 31 char const* unsigned_overflow_base6 = "1550104015504"; 32 char const* digit_overflow_base6 = "15501040155030"; 33 34 char const* max_unsigned_base7 = "211301422353"; 35 char const* unsigned_overflow_base7 = "211301422354"; 36 char const* digit_overflow_base7 = "2113014223530"; 37 38 char const* max_unsigned_base9 = "12068657453"; 39 char const* unsigned_overflow_base9 = "12068657454"; 40 char const* digit_overflow_base9 = "120686574530"; 41 42 char const* max_unsigned_base11 = "1904440553"; 43 char const* unsigned_overflow_base11 = "1904440554"; 44 char const* digit_overflow_base11 = "19044405530"; 45 46 char const* max_unsigned_base12 = "9BA461593"; 47 char const* unsigned_overflow_base12 = "9BA461594"; 48 char const* digit_overflow_base12 = "9BA4615930"; 49 50 char const* max_unsigned_base13 = "535A79888"; 51 char const* unsigned_overflow_base13 = "535A79889"; 52 char const* digit_overflow_base13 = "535A798880"; 53 54 char const* max_unsigned_base14 = "2CA5B7463"; 55 char const* unsigned_overflow_base14 = "2CA5B7464"; 56 char const* digit_overflow_base14 = "2CA5B74630"; 57 58 char const* max_unsigned_base15 = "1A20DCD80"; 59 char const* unsigned_overflow_base15 = "1A20DCD81"; 60 char const* digit_overflow_base15 = "1A20DCD800"; 61 62 char const* max_unsigned_base17 = "A7FFDA90"; 63 char const* unsigned_overflow_base17 = "A7FFDA91"; 64 char const* digit_overflow_base17 = "A7FFDA900"; 65 66 char const* max_unsigned_base18 = "704HE7G3"; 67 char const* unsigned_overflow_base18 = "704HE7G4"; 68 char const* digit_overflow_base18 = "704HE7G30"; 69 70 char const* max_unsigned_base19 = "4F5AFF65"; 71 char const* unsigned_overflow_base19 = "4F5AFF66"; 72 char const* digit_overflow_base19 = "4F5AFF650"; 73 74 char const* max_unsigned_base20 = "3723AI4F"; 75 char const* unsigned_overflow_base20 = "3723AI4G"; 76 char const* digit_overflow_base20 = "3723AI4G0"; 77 78 char const* max_unsigned_base21 = "281D55I3"; 79 char const* unsigned_overflow_base21 = "281D55I4"; 80 char const* digit_overflow_base21 = "281D55I30"; 81 82 char const* max_unsigned_base22 = "1FJ8B183"; 83 char const* unsigned_overflow_base22 = "1FJ8B184"; 84 char const* digit_overflow_base22 = "1FJ8B1830"; 85 86 char const* max_unsigned_base23 = "1606K7IB"; 87 char const* unsigned_overflow_base23 = "1606K7IC"; 88 char const* digit_overflow_base23 = "1606K7IB0"; 89 90 char const* max_unsigned_base24 = "MB994AF"; 91 char const* unsigned_overflow_base24 = "MB994AG"; 92 char const* digit_overflow_base24 = "MB994AF0"; 93 94 char const* max_unsigned_base25 = "HEK2MGK"; 95 char const* unsigned_overflow_base25 = "HEK2MGL"; 96 char const* digit_overflow_base25 = "HEK2MGK0"; 97 98 char const* max_unsigned_base26 = "DNCHBNL"; 99 char const* unsigned_overflow_base26 = "DNCHBNM"; 100 char const* digit_overflow_base26 = "DNCHBNL0"; 101 102 char const* max_unsigned_base27 = "B28JPDL"; 103 char const* unsigned_overflow_base27 = "B28JPDM"; 104 char const* digit_overflow_base27 = "B28JPDL0"; 105 106 char const* max_unsigned_base28 = "8PFGIH3"; 107 char const* unsigned_overflow_base28 = "8PFGIH4"; 108 char const* digit_overflow_base28 = "8PFGIH30"; 109 110 char const* max_unsigned_base29 = "76BEIGF"; 111 char const* unsigned_overflow_base29 = "76BEIGH"; 112 char const* digit_overflow_base29 = "76BEIGF0"; 113 114 char const* max_unsigned_base30 = "5QMCPQF"; 115 char const* unsigned_overflow_base30 = "5QMCPQG"; 116 char const* digit_overflow_base30 = "5QMCPQF0"; 117 118 char const* max_unsigned_base31 = "4Q0JTO3"; 119 char const* unsigned_overflow_base31 = "4Q0JTO4"; 120 char const* digit_overflow_base31 = "4Q0JTO30"; 121 122 char const* max_unsigned_base32 = "3VVVVVV"; 123 char const* unsigned_overflow_base32 = "3VVVVVW"; 124 char const* digit_overflow_base32 = "3VVVVVV0"; 125 126 char const* max_unsigned_base33 = "3AOKQ93"; 127 char const* unsigned_overflow_base33 = "3AOKQ94"; 128 char const* digit_overflow_base33 = "3AOKQ930"; 129 130 char const* max_unsigned_base34 = "2QHXJLH"; 131 char const* unsigned_overflow_base34 = "2QHXJLI"; 132 char const* digit_overflow_base34 = "2QHXJLH0"; 133 134 char const* max_unsigned_base35 = "2BR45QA"; 135 char const* unsigned_overflow_base35 = "2BR45QB"; 136 char const* digit_overflow_base35 = "2BR45QA0"; 137 138 char const* max_unsigned_base36 = "1Z141Z3"; 139 char const* unsigned_overflow_base36 = "1Z141Z4"; 140 char const* digit_overflow_base36 = "1Z141Z30"; 141 142 #endif