]>
Commit | Line | Data |
---|---|---|
224c7076 A |
1 | --- gdtoa-smisc.c.orig 2005-01-20 20:12:36.000000000 -0800 |
2 | +++ gdtoa-smisc.c 2005-03-24 17:33:43.000000000 -0800 | |
3 | @@ -34,9 +34,9 @@ | |
4 | Bigint * | |
5 | s2b | |
6 | #ifdef KR_headers | |
7 | - (s, nd0, nd, y9) CONST char *s; int nd0, nd; ULong y9; | |
8 | + (s, nd0, nd, y9, decpt) CONST char *s; int nd0, nd; ULong y9; int decpt; | |
9 | #else | |
10 | - (CONST char *s, int nd0, int nd, ULong y9) | |
11 | + (CONST char *s, int nd0, int nd, ULong y9, int decpt) | |
12 | #endif | |
13 | { | |
14 | Bigint *b; | |
15 | @@ -60,10 +60,10 @@ | |
16 | s += 9; | |
17 | do b = multadd(b, 10, *s++ - '0'); | |
18 | while(++i < nd0); | |
19 | - s++; | |
20 | + s += decpt; | |
21 | } | |
22 | else | |
23 | - s += 10; | |
24 | + s += 9 + decpt; | |
25 | for(; i < nd; i++) | |
26 | b = multadd(b, 10, *s++ - '0'); | |
27 | return b; |