1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole

number literals, so they are doubles instead of ints.
This commit is contained in:
Roland McGrath
2002-10-11 10:55:33 +00:00
parent ce460d04a5
commit 3021e36d98
6 changed files with 70 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2000.
@@ -33,7 +33,8 @@ const double val_double[] =
{
-.10000E+02, 0.20000E+02, 0.25000E+01, 0.40000E+01, 0.50000E+01, 0.12500E+01,
0.10000E+02, 0.20000E+02, 0.25000E+01, 0.40000E+01, 0.50000E+01, 0.12500E+01,
-1234567E01, 98765432E09, 12345678901, 98765432109, 12345678901, 98765432109,
-1234567E01, 98765432E09, 12345678901.0, 98765432109.0, 12345678901.0,
98765432109.0,
-0.1000E+02, 0.20000E+02, 0.25000E+01, 0.40000E+01, 0.50000E+01, 0.12500E+01
};