mirror of
https://github.com/zeldaret/st
synced 2026-09-04 18:21:51 -04:00
c98c03de39
* 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
10 lines
132 B
C
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;
|
|
}
|