19 lines
969 B
C
19 lines
969 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_abs.h :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: ajoly <ajoly@student.42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/08/04 10:03:57 by ajoly #+# #+# */
|
||
|
/* Updated: 2022/08/04 10:38:23 by ajoly ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#ifndef FT_ABS_H
|
||
|
# define FT_ABS_H
|
||
|
|
||
|
# define ABS(x) (x > 0) ? x : -x
|
||
|
|
||
|
#endif
|