first commit
This commit is contained in:
18
C08/ex02/ft_abs.h
Normal file
18
C08/ex02/ft_abs.h
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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
|
Reference in New Issue
Block a user