HP3000-L Archives

June 1997, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dennis Handly <[log in to unmask]>
Reply To:
Dennis Handly <[log in to unmask]>
Date:
Tue, 24 Jun 1997 09:36:14 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (9 lines)
EdCulp wrote:
: It used 1s complement integer arithmetic and therefore there
: was such a thing as a negative zero.  The result if any arithmentic
: operation could never be negative zero so the value was commonly used as
: a flag.

Right, it was very hard to compare and see if it was a -0.  Perhaps use the
population count instruction?  Or if = 0 and also < 0?

ATOM RSS1 RSS2