diff options
Diffstat (limited to 'c08/ex02')
| -rw-r--r-- | c08/ex02/ft_abs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c08/ex02/ft_abs.h b/c08/ex02/ft_abs.h index 9a41241..ba01929 100644 --- a/c08/ex02/ft_abs.h +++ b/c08/ex02/ft_abs.h @@ -6,13 +6,13 @@ /* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/07 17:09:37 by cacharle #+# #+# */ -/* Updated: 2019/07/07 17:11:50 by cacharle ### ########.fr */ +/* Updated: 2019/07/13 08:56:29 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_ABS_H -#define FT_ABS_H +# define FT_ABS_H -#define ABS(x) (x < 0 ? -x : x) +# define ABS(x) ( ( (x) < 0) ? -(x) : (x) ) #endif |
