Subject: port-pc532/2283: __infinity is wrong on the ns32k architecture
To: None <gnats-bugs@NetBSD.ORG>
From: None <leo@marco.de>
List: netbsd-bugs
Date: 04/01/1996 10:59:00
>Number:         2283
>Category:       port-pc532
>Synopsis:       __infinity is wrong on the ns32k architecture
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr  1 04:35:06 1996
>Last-Modified:
>Originator:     Matthias Pfaller
>Organization:
leo@dachau.marco.de			in real life: Matthias Pfaller
marco GmbH, 85221 Dachau, Germany	tel: +49 8131 516142
>Release:        960328
>Environment:
	
System: NetBSD klondike 1.1B NetBSD 1.1B (KLONDIKE) #99: Sat Mar 30 00:49:14 MET 1996 leo@klondike:/usr/src/sys/arch/pc532/compile/KLONDIKE pc532


>Description:
	Up to now the pc532 didn't support all aspects of the ieee floating
	point standard. It didn't support +/-Inf and NaNs. Because of this
	__infinity was defined to be MAX_DOUBLE.
	Thank's to Ian Dall's ieee package we can change this now to true
	+Inf.
>How-To-Repeat:
>Fix:
--- lib/libc/arch/ns32k/gen/infinity.c.ORIG	Sat Oct 14 01:43:10 1995
+++ lib/libc/arch/ns32k/gen/infinity.c	Sun Mar 31 00:28:22 1996
@@ -7,4 +7,4 @@
 #include <math.h>
 
 /* bytes for +Infinity on a ns32k */
-char __infinity[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0x7f };
+char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
>Audit-Trail:
>Unformatted: