updating sqrt to work with doubles

This commit is contained in:
hugogogo
2026-05-09 14:43:26 +02:00
parent 8edf428fed
commit ae9787ba6d
3 changed files with 48 additions and 22 deletions

View File

@@ -133,7 +133,7 @@ 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);
int ft_sqrt(int i);
double ft_sqrt(double i);
void ft_free_tab(char **tab);
int ft_arrint(int *intarr, int comp, size_t size);