🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.scheme.c
Article #45

Resolution of "*" bug (V6.1.x)

#45
From: Bruce McKenney
Date: Thu, 12 Oct 1989 18:39
24 lines
1205 bytes
   Chris Hanson came up with a (quick!) pointer to the source of
the trouble. For the benefit of any R6.1.x users, the file "mul.c" has
a declaration:

   fast long Hi_A, Hi_B, Lo_A, Lo_B, Lo_C, Middle_C;

which should be modified to:

   fast long Hi_A, Hi_B, Lo_A, Lo_B, Middle_C;
   fast unsigned long Lo_C;

This certainly fixed this on our 370, and I suspect, from what I know of
the 68000 multiply (which also produces a result in which the low-half is 
effectively "unsigned") should fix the Sun-3 as well. 
   I also understand that this has been "fixed in Release 7".
   Many thanks to all who responded.
  
   Bruce McKenney
   mckenney@itsgw.rpi.edu
   Bruce_McKenney@mts.rpi.edu
   userarkc@rpitsmts.bitnet

PS: It Definitely fixes the problem on the Sun-3 -- I just saw it.
Technical Details
Message-ID: <8910121839.AA01389@bmc.its.rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bloom-beacon!RPI.EDU!mckenney

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bloom-beacon!RPI.EDU!mckenney
From: mckenney@RPI.EDU (Bruce McKenney)
Newsgroups: comp.lang.scheme.c
Subject: Resolution of "*" bug (V6.1.x)
Message-ID: <8910121839.AA01389@bmc.its.rpi.edu>
Date: 12 Oct 89 18:39:40 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Distribution: inet
Organization: The Internet
Lines: 24