Changeset e5ddd4 in git for libpolys/coeffs/numbers.cc
- Timestamp:
- Jul 9, 2018, 5:40:21 PM (5 years ago)
- Branches:
- (u'spielwiese', '873fc1222e995d7cb33f79d8f1792ce418c8c72c')
- Children:
- ccc9da500e76f10b1aa7147670bf014a379ce0d1
- Parents:
- 4b5b3658c8e1f3c4b2725057e56be417eb838a72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/numbers.cc
r4b5b36 re5ddd4 11 11 12 12 #include "misc/auxiliary.h" 13 #include "misc/mylimits.h" 13 14 #include "omalloc/omalloc.h" 14 15 #include "factory/factory.h" … … 639 640 ii *= 10; 640 641 ii += *s++ - '0'; 641 if ((m!=0) && (ii >m)) ii=ii%m;642 if ((m!=0) && (ii > (MAX_INT_VAL / 10))) ii = ii % m; 642 643 } 643 644 while (((*s) >= '0') && ((*s) <= '9')); 644 if ((m!=0) && (ii> m)) ii=ii%m;645 if ((m!=0) && (ii>=m)) ii=ii%m; 645 646 *i=(int)ii; 646 647 }
Note: See TracChangeset
for help on using the changeset viewer.