[BACK]Return to strtoIf.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/strtoIf.c between version 1.1 and 1.2

version 1.1, 2006/01/25 15:18:49 version 1.2, 2008/03/21 23:13:48
Line 46  strtoIf(CONST char *s, char **sp, float 
Line 46  strtoIf(CONST char *s, char **sp, float 
         int k, rv[2];          int k, rv[2];
   
         B[0] = Balloc(0);          B[0] = Balloc(0);
           if (B[0] == NULL)
                   return STRTOG_NoMemory;
         B[0]->wds = 1;          B[0]->wds = 1;
         k = strtoIg(s, sp, &fpi, exp, B, rv);          k = strtoIg(s, sp, &fpi, exp, B, rv);
           if (k == STRTOG_NoMemory)
                   return k;
         ULtof((ULong*)f0, B[0]->x, exp[0], rv[0]);          ULtof((ULong*)f0, B[0]->x, exp[0], rv[0]);
         Bfree(B[0]);          Bfree(B[0]);
         if (B[1]) {          if (B[1]) {

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

CVSweb <webmaster@jp.NetBSD.org>