piscine-c08/ex02/ft_abs.h

17 lines
983 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_abs.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tosuman </var/spool/mail/tosuman> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/31 00:06:36 by tosuman #+# #+# */
/* Updated: 2023/03/31 00:06:37 by tosuman ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_ABS_H
# define FT_ABS_H
# define ABS(Value) (Value > 0 ? Value : -Value)
#endif