adding labs

This commit is contained in:
hugogogo
2026-05-07 11:46:03 +02:00
parent 36379f56b0
commit 413e149003
7 changed files with 31 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ size_t ft_strjoin_static(char *dst, size_t dst_size, const char **srcs, size_t n
char *ft_strtrim(char const *s1, char const *set);
char **ft_split(char const *s, char c);
char *ft_itoa(long int n);
char *ft_itoa_static(long int nbr, char *buffer, size_t nbr_len);
char *ft_itoa_static(long int nbr, char *buffer, size_t buff_len);
char *ft_utoa(unsigned long int n);
char *ft_strmapi(char const *s, char (*f)(unsigned int, char));
@@ -124,6 +124,7 @@ 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);
long int ft_labs(long int n);
double ft_fabs(double n);
int ft_greater(int a, int b);
int ft_smaller(int a, int b);