Changeset 609 for branches/GNU/src/binutils/libiberty/strtod.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/strtod.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* Implementation of strtod for systems with atof. 2 Copyright (C) 1991, 1995 Free Software Foundation, Inc.2 Copyright (C) 1991, 1995, 2002 Free Software Foundation, Inc. 3 3 4 4 This file is part of the libiberty library. This library is free … … 22 22 This exception does not however invalidate any other reasons why 23 23 the executable file might be covered by the GNU General Public License. */ 24 25 /* 26 27 @deftypefn Supplemental double strtod (const char *@var{string}, char **@var{endptr}) 28 29 This ISO C function converts the initial portion of @var{string} to a 30 @code{double}. If @var{endptr} is not @code{NULL}, a pointer to the 31 character after the last character used in the conversion is stored in 32 the location referenced by @var{endptr}. If no conversion is 33 performed, zero is returned and the value of @var{string} is stored in 34 the location referenced by @var{endptr}. 35 36 @end deftypefn 37 38 */ 24 39 25 40 #include "ansidecl.h" … … 61 76 && (p[7] == 'y' || p[7] == 'Y')) 62 77 { 63 *ptr = p + 7;78 *ptr = p + 8; 64 79 return atof (str); 65 80 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.