NetBSD Problem Report #23

From gnats  Mon Oct 11 12:03:52 1993
Received: from localhost (jtc@localhost) by sun-lamp.cs.berkeley.edu (8.3/8.3) id MAA15438; Mon, 11 Oct 1993 12:03:52 -0700
Message-Id: <199310111903.MAA15438@sun-lamp.cs.berkeley.edu>
Date: Mon, 11 Oct 1993 12:03:52 -0700
From: "J.T. Conklin" <jtc>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: Math library should use BYTE_ORDER macro.

>Number:         23
>Category:       lib
>Synopsis:       Math library should use BYTE_ORDER macro.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 11 12:05:24 +0000 1993
>Closed-Date:    Thu Oct 21 10:36:13 +0000 1993
>Last-Modified:  
>Originator:     
>Release:        NetBSD-0.9
>Organization:
Winning Strategies, Inc.
>Environment:

System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#6 i386

>Description:
	Currently, the i386 port uses -Dnational (as in National Semiconductor
	32532) to tell the math library	routines to be compiled for a little
	endian machine.  I think that the math library should use the
	BYTE_ORDER macro defined in <machine/endian.h> --- especially if 
	someone gets ambitious and starts a iX87-specific math code.

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Oct 21 10:36:13 1993
State-Changed-Why:
Changed #ifdef national to #if BYTE_ORDER == LITTLE_ENDIAN

>Unformatted:
 To: gnats-bugs@sun-lamp.cs.berkeley.edu
 Subject: Math library should use BYTE_ORDER macro
 From: jtc@sun-lamp.cs.berkeley.edu
 Reply-To: jtc@sun-lamp.cs.berkeley.edu
 X-send-pr-version: 3.01

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.