Changeset e6d670f in mainline
- Timestamp:
- 2018-03-17T17:42:06Z (7 years ago)
- Children:
- c6a1768
- Parents:
- e59627e
- Location:
- uspace/lib/softint
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softint/generic/multiplication.c
re59627e re6d670f 64 64 } 65 65 66 long __muldi3(long a, long b) 67 { 68 return (long) __multi3(a, b); 69 } 70 66 71 /** Emulate multiplication of two 64-bit long long integers. 67 72 * 68 73 */ 69 long long __mul di3(long long a, long long b)74 long long __multi3(long long a, long long b) 70 75 { 71 76 char neg = 0; -
uspace/lib/softint/include/multiplication.h
re59627e re6d670f 37 37 #define __SOFTINT_MULTIPLICATION_H__ 38 38 39 extern long __muldi3(long, long); 40 39 41 /* 64 bit multiplication */ 40 extern long long __mul di3(long long, long long);42 extern long long __multi3(long long, long long); 41 43 42 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.