toaruos/libc/stdlib/atof.c

8 lines
107 B
C
Raw Normal View History

2018-05-02 13:43:33 +03:00
/* Really bad atof */
#include <stdlib.h>
double atof(const char * nptr) {
2018-06-25 06:11:33 +03:00
return strtod(nptr, NULL);
2018-05-02 13:43:33 +03:00
}