Changeset 2467b41 in mainline for uspace/lib/softint/generic/multiplication.c
- Timestamp:
- 2018-01-17T16:58:41Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17c14273
- Parents:
- 33b8d024
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-17 16:58:14)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-17 16:58:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softint/generic/multiplication.c
r33b8d024 r2467b41 35 35 */ 36 36 37 #include <alias.h>38 37 #include <multiplication.h> 39 38 #include <stdint.h> … … 68 67 * 69 68 */ 70 long long __mul ti3 (long long a, long long b)69 long long __muldi3 (long long a, long long b) 71 70 { 72 71 char neg = 0; … … 121 120 } 122 121 123 #if LONG_MAX == LLONG_MAX124 long ALIAS(__mul, i3);125 #else126 long __muldi3(long a, long b)127 {128 return (int)a * (int)b;129 }130 #endif131 132 122 /** @} 133 123 */
Note:
See TracChangeset
for help on using the changeset viewer.