#include <stdio.h>
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Functions | |
void | swap (double *nbr1, double *nbr2) |
This function swaps numbers' position if the first parameter is bigger than the second parameter. More... | |
double | ft_atof (const char *nptr) |
Convert a string to a double. More... | |
double ft_atof | ( | const char * | nptr | ) |
Convert a string to a double.
This function converts a string representation of a number to a double value.
nptr | The string to be converted. |
void swap | ( | double * | nbr1, |
double * | nbr2 | ||
) |
This function swaps numbers' position if the first parameter is bigger than the second parameter.
ABOUT THE HEADER HELPERS.H
This header contains auxiliary functions for the program as a whole, i.e., functions that aren't subfunctions of a specific task in a given module.
nbr1 | Receives the first number to be compared. |
nbr2 | Receives the second the number to be compared. |