init
This commit is contained in:
18
C/c08v3/ex02/ft_abs.h
Normal file
18
C/c08v3/ex02/ft_abs.h
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_abs.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/07/26 19:36:46 by cchauvet #+# #+# */
|
||||
/* Updated: 2022/08/03 17:25:46 by cchauvet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_ABS_H
|
||||
# define FT_ABS_H
|
||||
|
||||
# define ABS(Value) (Value * ((Value > 0) - (Value < 0)))
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user