Changeset 0a3fa3 in git for libpolys/coeffs/longrat.cc
- Timestamp:
- Dec 22, 2011, 8:33:58 PM (11 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 1cbb1f452324cf72b33ef5a1cb6256d97bcbcbd0
- Parents:
- 113ed4ea1440de5024b690416c6b95d02b73bdf1
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-12-22 20:33:58+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:59:37+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/longrat.cc
r113ed4 r0a3fa3 1292 1292 s = u1; 1293 1293 if (s < 0) s+=p; 1294 u=(s*((long)iz)) % ((long)p); 1294 u=(s*((long)iz)) % ((long)p); // BUG: integer overflow!!! 1295 1295 return (int)u; 1296 1296 }
Note: See TracChangeset
for help on using the changeset viewer.