[BACK]Return to strtodnrp.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gdtoa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gdtoa/strtodnrp.c between version 1.1 and 1.2

version 1.1, 2006/01/25 15:18:53 version 1.2, 2008/03/21 23:13:48
Line 53  strtod(CONST char *s, char **sp)
Line 53  strtod(CONST char *s, char **sp)
         union { ULong L[2]; double d; } u;          union { ULong L[2]; double d; } u;
   
         k = strtodg(s, sp, &fpi, &exp, bits);          k = strtodg(s, sp, &fpi, &exp, bits);
           if (k == STRTOG_NoMemory) {
                   errno = ERANGE;
                   u.L[0] = Big0;
                   u.L[1] = Big1;
                   return u.d;
           }
         switch(k & STRTOG_Retmask) {          switch(k & STRTOG_Retmask) {
           case STRTOG_NoNumber:            case STRTOG_NoNumber:
           case STRTOG_Zero:            case STRTOG_Zero:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>