1 2 3 4 5 6 7 8
#include "stddef.h" // for NULL #include <stdlib.h> // for strtod, atof double atof(const char *str) { return strtod(str, (char **)NULL); }