atof.c 310 B

123456789101112131415
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Header$ */
  6. #ifndef NOFLOAT
  7. #include <stdlib.h>
  8. double
  9. atof(const char *nptr)
  10. {
  11. return strtod(nptr, (char **) NULL);
  12. }
  13. #endif /* NOFLOAT */