Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen Add a few more test values from the range...



details:   https://anonhg.NetBSD.org/src/rev/530ee78fc4e5
branches:  trunk
changeset: 326547:530ee78fc4e5
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 02 08:16:22 2014 +0000

description:
Add a few more test values from the range that sparc64 previously would
have got wrong.

diffstat:

 tests/lib/libc/gen/t_floatunditf.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6c679abc5785 -r 530ee78fc4e5 tests/lib/libc/gen/t_floatunditf.c
--- a/tests/lib/libc/gen/t_floatunditf.c        Sun Feb 02 08:14:39 2014 +0000
+++ b/tests/lib/libc/gen/t_floatunditf.c        Sun Feb 02 08:16:22 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_floatunditf.c,v 1.4 2014/02/01 13:53:16 martin Exp $ */
+/* $NetBSD: t_floatunditf.c,v 1.5 2014/02/02 08:16:22 martin Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -37,6 +37,9 @@
        long double ld;
 } testcases[] = {
        { 0xffffffffffffffffULL, 0xf.fffffffffffffffp+60L },
+       { 0xfffffffffffffffeULL, 0xf.ffffffffffffffep+60L },
+       { 0xfffffffffffffffdULL, 0xf.ffffffffffffffdp+60L },
+       { 0xfffffffffffffffcULL, 0xf.ffffffffffffffcp+60L },
        { 0x7fffffffffffffffULL, 0xf.ffffffffffffffep+59L },
        { 0x3fffffffffffffffULL, 0xf.ffffffffffffffcp+58L },
        { 0x1fffffffffffffffULL, 0xf.ffffffffffffff8p+57L },



Home | Main Index | Thread Index | Old Index