11 lines
119 B
C
11 lines
119 B
C
#include "libft.h"
|
|
|
|
int ft_fsign(double i)
|
|
{
|
|
if (i < 0)
|
|
return (-1);
|
|
else if (i == 0)
|
|
return (0);
|
|
return (1);
|
|
}
|