Piscine42/C08/ex02/ft_abs.h
2023-12-12 17:25:55 +01:00

17 lines
975 B
C
Executable File

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_abs.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/18 12:25:59 by fgras-ca #+# #+# */
/* Updated: 2022/12/18 12:40:44 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_ABS_H
# define FT_ABS_H
# define ABS(x) (((x) < 0) ? -(x) : (x))
#endif