1 #include <stdlib.h> 2 atof(const char * s)3 double atof(const char* s) { 4 return strtod(s, 0); 5 } 6