Files
st/libs/c/src/arith.c
T
Yanis c98c03de39 Match MSL_C (#8)
* match wstring.c

* match math_api.c, mbstring.c, mem.c and mem_funcs.c

* more progress

* build issues

* fix non-matching issues

* reorganise files

* match fdlibm (+ libc progress)

* fix jp build

* solved some non-matchings and progress

* removed types.h usage in libc

* match data and add missing delinks for jp
2025-12-17 14:08:53 +01:00

10 lines
132 B
C

#include <arith.h>
int abs(int __x) {
return __x < 0 ? -__x : __x;
}
long labs(long __x) {
return __x < 0 ? -__x : __x;
}