9 lines
85 B
C
9 lines
85 B
C
#include "libft.h"
|
|
|
|
double ft_fabs(double n)
|
|
{
|
|
if (n < 0)
|
|
n *= -1;
|
|
return (n);
|
|
}
|