Changeset e8975278 in mainline for uspace/app/sbi/src
- Timestamp:
- 2018-05-10T15:14:02Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1420cae9
- Parents:
- ae7d03c
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
- File:
-
- 1 edited
-
uspace/app/sbi/src/bigint.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/bigint.c
rae7d03c re8975278 202 202 203 203 if (bigint->negative) 204 val = - val;204 val = -val; 205 205 206 206 /* If the value did not fit @c val now contains garbage. Verify. */ … … 368 368 { 369 369 static const char digits[] = { '0', '1', '2', '3', '4', '5', '6', 370 '7', '8', '9' };370 '7', '8', '9' }; 371 371 372 372 bigint_t val, tmp; … … 632 632 db = b; 633 633 634 tmp = (da * db)+ (bigint_word_t) carry;634 tmp = da * db + (bigint_word_t) carry; 635 635 636 636 carry = (bigint_word_t) (tmp / BIGINT_BASE);
Note:
See TracChangeset
for help on using the changeset viewer.
