#include "libft.h" /** * returns the absolute value of a long int number */ long int ft_labs(long int n) { if (n <= 0) n *= -1; // also works for -0 return (n); }