Changeset 1433ecda in mainline for uspace/lib/softint/generic/multiplication.c
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softint/generic/multiplication.c
r47b2d7e3 r1433ecda 40 40 /** Set 1 to return INT64_MAX or INT64_MIN on overflow */ 41 41 #ifndef SOFTINT_CHECK_OF 42 42 #define SOFTINT_CHECK_OF 0 43 43 #endif 44 44 … … 48 48 * 49 49 */ 50 static unsigned long long mul(unsigned int a, unsigned int b) { 50 static unsigned long long mul(unsigned int a, unsigned int b) 51 { 51 52 unsigned int a1 = a >> 16; 52 53 unsigned int a2 = a & UINT16_MAX;
Note:
See TracChangeset
for help on using the changeset viewer.