🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3818

Re: Bitshift operations

#3818
From: soper
Date: Sat, 12 Sep 1987 21:27
11 lines
1093 bytes
In article <198@bernina.UUCP> wille@ethz.UUCP (M. Wille) writes:
>The above mentioned compiler produces shift operations when powers of two
>are used as constant operands in multiplications and divisions. Depending
>on the type of the first operand, i.e. signed or unsigned, an arithmetic

It astonishes me that Wirth could fall for the idea of using shifts in place
of signed division. I ripped this out of the compiler when I ported it to
my company's system.
-- 
Pete Soper, Encore Computer Corp
uucp: {necntc,talcott,ihnp4,decvax,allegra}!encore!soper
Technical Details
Message-ID: <1935@encore.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!linus!encore!soper
References: <198@bernina.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!linus!encore!soper
From: soper@encore.UUCP
Newsgroups: comp.lang.modula2
Subject: Re: Bitshift operations
Message-ID: <1935@encore.UUCP>
Date: Sat, 12-Sep-87 17:27:27 EDT
Article-I.D.: encore.1935
Posted: Sat Sep 12 17:27:27 1987
Date-Received: Sun, 13-Sep-87 08:52:42 EDT
References: <198@bernina.UUCP>
Reply-To: soper@encore.UUCP (Pete Soper)
Organization: Encore Computer Corp, Marlboro, MA
Lines: 11