~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/c-strtod.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Convert string to double, using the C locale.
2
2
 
3
 
   Copyright (C) 2003-2004, 2009-2011 Free Software Foundation, Inc.
 
3
   Copyright (C) 2003-2004, 2009-2012 Free Software Foundation, Inc.
4
4
 
5
5
   This program is free software: you can redistribute it and/or modify
6
6
   it under the terms of the GNU General Public License as published by
20
20
   accepting only the ASCII digits '0'..'9', and only '.' as decimal point
21
21
   character.
22
22
   If ENDPTR is not NULL, set *ENDPTR to point to the first byte beyond the
23
 
   parsed number or to NPTR if the string does not start with a parseable
 
23
   parsed number or to NPTR if the string does not start with a parsable
24
24
   number.
25
25
   Return value:
26
26
   - If successful, return the value as a double or 'long double',