pushswap/printf/libft/src/ft_isneg.c
2023-03-07 05:42:47 +01:00

21 lines
981 B
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isneg.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2021/02/02 03:38:29 by djonker #+# #+# */
/* Updated: 2023/02/07 00:39:59 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_isneg(double n)
{
if (n < 0)
return (1);
return (0);
}