changed: UInt::FromString(...) skips the input digits when the value is too big
added: tests: addtwoints (only 32bit) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@95 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
1 parent
1d81dc75ff
commit
c7c859fc76
5 files changed
+161
-73
No files matched your search
+10
-1
@@ -71,12 +71,21 @@ public:
|
||||
|
||||
void go();
|
||||
|
||||
bool read_uint(uuint & result);
|
||||
|
||||
template<uuint type_size>
|
||||
bool read_uint(UInt<type_size> & result);
|
||||
|
||||
|
||||
template<uuint type_size> void test_add();
|
||||
template<uuint type_size> void test_addint();
|
||||
template<uuint type_size> void test_addtwoints();
|
||||
|
||||
template<uuint type_size> bool check_result_carry(const ttmath::UInt<type_size> & result, const ttmath::UInt<type_size> & new_result,
|
||||
int carry, int new_carry);
|
||||
|
||||
template<uuint type_size> bool check_result_or_carry(const ttmath::UInt<type_size> & result, const ttmath::UInt<type_size> & new_result,
|
||||
int carry, int new_carry);
|
||||
|
||||
int upper_char(int c);
|
||||
bool is_white(int c);
|
||||
@@ -84,7 +93,7 @@ void skip_white_characters();
|
||||
bool read_method();
|
||||
void test_method();
|
||||
bool check_line();
|
||||
uuint read_uint();
|
||||
|
||||
bool check_minmax_bits(int type_size);
|
||||
bool check_minmax_bits_bitperint(int type_size);
|
||||
bool check_end();
|
||||
|
||||
Reference in new issue
Block a user