Files
cadmic c8c3307996 Match the rest of libc (#82)
* Match libc alloc, printf, strtold

* Match libc/time.c

* Match remaining libc data

* Fix oot-u splits

* Fix oot-e splits
2025-09-19 10:59:10 -07:00

29 lines
480 B
C

#ifndef _ARITH_H
#define _ARITH_H
#include "revolution/types.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
int quot; /* quotient */
int rem; /* remainder */
} div_t;
int abs(int __x);
long labs(long __x);
div_t div(int __numer, int __denom);
int __msl_add(int* __x, int __y);
int __msl_ladd(long* __x, long __y);
int __msl_lmul(long* __x, long __y);
div_t __msl_div(int __x, int __y);
int __msl_mod(int __x, int __y);
#ifdef __cplusplus
}
#endif
#endif