Add test case strtod underflow

This commit is contained in:
Andreas Jaeger 2011-07-08 13:16:26 -04:00 committed by Ulrich Drepper
parent 4e5f31c847
commit 04d08991c4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-05 Andreas Jaeger <aj@suse.de>
[BZ#9696]
* stdlib/tst-strtod.c: Add testcase.
2011-07-07 Ulrich Drepper <drepper@gmail.com>
* sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991,1996-2001,2003,2009 Free Software Foundation, Inc.
/* Copyright (C) 1991,1996-2001,2003,2009,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -72,6 +72,7 @@ static const struct ltest tests[] =
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
#endif
{ "0x80000Ap-23", 0x80000Ap-23, '\0', 0 },
{ "1e-324", 0, '\0', ERANGE },
{ NULL, 0, '\0', 0 }
};