changed sign_f to also return zero

This commit is contained in:
hugogogo
2026-05-08 00:59:29 +02:00
parent 3cf0b6ecb9
commit 8edf428fed
3 changed files with 5 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ double ft_fabs(double n);
int ft_greater(int a, int b);
int ft_smaller(int a, int b);
int ft_sign(int i);
int ft_sign_f(double i);
int ft_fsign(double i);
double ft_modf(double x, double *int_part);
double ft_pow(double base, int exponent);
double ft_round(double x);