2003-06-18 08:03:45 +00:00
|
|
|
/* Error-checking interface to strtod.
|
|
|
|
|
|
|
|
|
|
Copyright (C) 1996, 1998, 2003 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|
|
|
|
|
|
|
|
|
/* Written by Jim Meyering. */
|
|
|
|
|
|
1995-11-15 21:59:20 +00:00
|
|
|
#ifndef XSTRTOD_H
|
1996-07-15 03:56:06 +00:00
|
|
|
# define XSTRTOD_H 1
|
1995-11-15 21:59:20 +00:00
|
|
|
|
2003-06-18 07:57:26 +00:00
|
|
|
int xstrtod (const char *str, const char **ptr, double *result);
|
1995-11-15 21:59:20 +00:00
|
|
|
|
1996-10-10 04:15:54 +00:00
|
|
|
#endif /* not XSTRTOD_H */
|