Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/fpe Fix sign of NAN. Found by XM6i.
details: https://anonhg.NetBSD.org/src/rev/57073d934a49
branches: trunk
changeset: 349315:57073d934a49
user: isaki <isaki%NetBSD.org@localhost>
date: Tue Dec 06 06:41:14 2016 +0000
description:
Fix sign of NAN. Found by XM6i.
diffstat:
sys/arch/m68k/fpe/fpu_mul.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 2ae48cc2a9f9 -r 57073d934a49 sys/arch/m68k/fpe/fpu_mul.c
--- a/sys/arch/m68k/fpe/fpu_mul.c Tue Dec 06 05:58:19 2016 +0000
+++ b/sys/arch/m68k/fpe/fpu_mul.c Tue Dec 06 06:41:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_mul.c,v 1.8 2013/03/26 11:30:21 isaki Exp $ */
+/* $NetBSD: fpu_mul.c,v 1.9 2016/12/06 06:41:14 isaki Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_mul.c,v 1.8 2013/03/26 11:30:21 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_mul.c,v 1.9 2016/12/06 06:41:14 isaki Exp $");
#include <sys/types.h>
@@ -122,7 +122,6 @@
*/
ORDER(x, y);
if (ISNAN(y)) {
- y->fp_sign ^= x->fp_sign;
return (y);
}
if (ISINF(y)) {
Home |
Main Index |
Thread Index |
Old Index