Files
zSoft/libraries/imath/modsi3.c

9 lines
174 B
C

#include <stdint.h>
//#include "int_lib.h"
// Returns: a % b
int32_t __divsi3(int32_t, int32_t);
int32_t __modsi3(int32_t a, int32_t b) {
return a - __divsi3(a, b) * b;
}