diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/floatscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/floatscan.c b/src/internal/floatscan.c index 7381e9a4..b260381e 100644 --- a/src/internal/floatscan.c +++ b/src/internal/floatscan.c @@ -436,7 +436,7 @@ long double __floatscan(FILE *f, int prec, int pok) return sign * INFINITY; } if (!i) for (i=0; i<3 && (c|32)=="nan"[i]; i++) - if (i<3) c = shgetc(f); + if (i<2) c = shgetc(f); if (i==3) { return NAN; } |