This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

New strtod test cases



Uli, what do you think of the appended test cases?  make check passes
on i686.

Andreas

2000-09-04  Andreas Jaeger  <aj@suse.de>

	* stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
	libc/1880.
============================================================
Index: stdlib/tst-strtod.c
--- stdlib/tst-strtod.c	1999/10/30 04:31:06	1.14
+++ stdlib/tst-strtod.c	2000/09/04 08:52:59
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,96,97,98,99,2000 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
@@ -56,6 +56,8 @@
     { "0x00.0050p17", 160.0, '\0', 0 },
     { "0x00.0028p18", 160.0, '\0', 0 },
     { "0x00.0014p19", 160.0, '\0', 0 },
+    { "0x1p-1023", 1.11253692925360069154511635866620203210960799023116591527666e-308, '\0', 0 },
+    { "0x0.8p-1022", 1.11253692925360069154511635866620203210960799023116591527666e-308, '\0', 0 },
     { NULL, 0, '\0', 0 }
   };
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]