1 #include <inttypes.h>
2 
imaxabs(intmax_t a)3 intmax_t imaxabs(intmax_t a)
4 {
5 	return a>0 ? a : -a;
6 }
7