Files
semi-libc/src/stdlib/imaxabs.c
T

7 lines
78 B
C

#include <inttypes.h>
intmax_t imaxabs(intmax_t a)
{
return a>0 ? a : -a;
}