Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/compat/gen remove debugging
details: https://anonhg.NetBSD.org/src/rev/979e60631b8e
branches: trunk
changeset: 347472:979e60631b8e
user: christos <christos%NetBSD.org@localhost>
date: Sat Aug 27 09:35:13 2016 +0000
description:
remove debugging
diffstat:
lib/libc/compat/gen/compat_ldexp_ieee754.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 2dd497dba162 -r 979e60631b8e lib/libc/compat/gen/compat_ldexp_ieee754.c
--- a/lib/libc/compat/gen/compat_ldexp_ieee754.c Sat Aug 27 09:15:44 2016 +0000
+++ b/lib/libc/compat/gen/compat_ldexp_ieee754.c Sat Aug 27 09:35:13 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_ldexp_ieee754.c,v 1.6 2016/08/27 09:11:56 christos Exp $ */
+/* $NetBSD: compat_ldexp_ieee754.c,v 1.7 2016/08/27 09:35:13 christos Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: compat_ldexp_ieee754.c,v 1.6 2016/08/27 09:11:56 christos Exp $");
+__RCSID("$NetBSD: compat_ldexp_ieee754.c,v 1.7 2016/08/27 09:35:13 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -40,7 +40,6 @@
double ldexp(double, int);
-#include <stdio.h>
/*
* Multiply the given value by 2^expon.
*/
@@ -100,7 +99,6 @@
* Calculate the new exponent and check for underflow and overflow.
*/
newexp = oldexp + expon;
- printf("ee %#x oldexp %#x\n", oldexp, expon);
if (newexp >= DBL_EXP_INFNAN ||
(oldexp >= 0 && expon >= DBL_EXP_INFNAN)) {
Home |
Main Index |
Thread Index |
Old Index