adding sign and abs for doubles

This commit is contained in:
hugogogo
2026-05-06 22:54:20 +02:00
parent f93c635234
commit 78f6a2d9ba
6 changed files with 22 additions and 2 deletions

View File

@@ -122,9 +122,11 @@ void ft_putnbrendl(int n);
void ft_putnbrendl_fd(int n, int fd);
char *ft_concat_free(char *str1, char *str2);
int ft_abs(int n);
double ft_abs_f(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_sqrt(int i);
void ft_free_tab(char **tab);