From owner-freebsd-current Tue Oct 10 19:26:21 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA17441 for current-outgoing; Tue, 10 Oct 1995 19:26:21 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA17435 for ; Tue, 10 Oct 1995 19:26:12 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id MAA13116; Wed, 11 Oct 1995 12:24:33 +0930 From: Michael Smith Message-Id: <199510110254.MAA13116@genesis.atrad.adelaide.edu.au> Subject: Re: tail dumps core To: imp@village.org (Warner Losh) Date: Wed, 11 Oct 1995 12:24:32 +0930 (CST) Cc: pst@shockwave.com, current@FreeBSD.ORG In-Reply-To: <199510102056.OAA18756@rover.village.org> from "Warner Losh" at Oct 10, 95 02:56:53 pm Content-Type: text Content-Length: 1206 Sender: owner-current@FreeBSD.ORG Precedence: bulk Warner Losh stands accused of saying: > : How could this possibly be allowed by the C standard? I'm utterly > : confused. > > I think that on one's complement machines you can have a zero that is > "+0" and one that is "-0", one of which may or may not be the > "standard" zero on that platform. +0 is typically all zeros on this > machine but -0 typically has the sign bit set, and all the rest of the > bits clear. However, on a machine like this one would expect the zero > to either be normalized, or the sign bit to be masked out. You may also be on a platform that uses offset binary, or that packs hardware type information into spare bits. The C standard strives for portability. I don't expect that any of the above is likely to become popular in the near future, so it's not really such an issue. > Warner -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[