aboutsummaryrefslogtreecommitdiff
path: root/c08/ex02/ft_abs.h
blob: ba019299c452f3fe170ab09d566fd1583a95a32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_abs.h                                           :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <charles.cabergs@gmail.com>       +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/07/07 17:09:37 by cacharle          #+#    #+#             */
/*   Updated: 2019/07/13 08:56:29 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef FT_ABS_H
# define FT_ABS_H

# define ABS(x) ( ( (x) < 0) ? -(x) : (x) )

#endif