This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
2007-07-30 03:37:42 +02:00
|
|
|
/*
|
|
|
|
* arch/i386/libgcc/__moddi3.c
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "libgcc.h"
|
|
|
|
|
2008-11-19 01:37:15 +01:00
|
|
|
__libgcc int64_t __moddi3(int64_t num, int64_t den)
|
2007-07-30 03:37:42 +02:00
|
|
|
{
|
|
|
|
int64_t v;
|
|
|
|
|
2016-05-04 20:13:31 +02:00
|
|
|
(void) __divmoddi4(num, den, &v);
|
2007-07-30 03:37:42 +02:00
|
|
|
return v;
|
|
|
|
}
|