21 lines
981 B
C
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);
|
|
}
|