Ignore:
Timestamp:
2018-03-17T17:42:06Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Children:
c6a1768
Parents:
e59627e
Message:

Rename muldi3 to multi3 and add muldi3

muldi3 is supposed to take two longs and return long, while multi3
takes two long longs and returns long long. So the old muldi3 was in
fact
multi3 and the actualmuldi3 can be conveniently implemented
using the new
multi3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/softint/generic/multiplication.c

    re59627e re6d670f  
    6464}
    6565
     66long __muldi3(long a, long b)
     67{
     68        return (long) __multi3(a, b);
     69}
     70
    6671/** Emulate multiplication of two 64-bit long long integers.
    6772 *
    6873 */
    69 long long __muldi3 (long long a, long long b)
     74long long __multi3(long long a, long long b)
    7075{
    7176        char neg = 0;
Note: See TracChangeset for help on using the changeset viewer.