-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isneg.c
20 lines (18 loc) · 977 Bytes
/
ft_isneg.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isneg.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tlevaufr <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/12/05 14:50:42 by tlevaufr #+# #+# */
/* Updated: 2017/12/05 15:04:36 by tlevaufr ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isneg(int n)
{
if (n >= 0)
return (0);
return (1);
}