imaxabs.c raw

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