42-archive/42-piscine-c/d08/ex03/ft_abs.h
2016-08-25 20:50:28 +02:00

18 lines
977 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_abs.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/08/08 14:45:15 by jhalford #+# #+# */
/* Updated: 2016/08/11 11:02:54 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_ABS_H
# define FT_ABS_H
# define ABS(x) (((x) < 0) ? -(x) : (x))
#endif