#include "stddef.h" // for NULL #include // for strtod, atof double atof(const char *str) { return strtod(str, (char **)NULL); }