Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!adelie!munsell!pac From: pac@munsell.UUCP (Paul Czarnecki) Newsgroups: comp.sources.bugs Subject: binary display problem in calctool Message-ID: <1155@pinney.munsell.UUCP> Date: Wed, 29-Jul-87 12:22:59 EDT Article-I.D.: pinney.1155 Posted: Wed Jul 29 12:22:59 1987 Date-Received: Sat, 1-Aug-87 00:59:17 EDT Reply-To: pac@munsell.UUCP () Distribution: world Organization: Eikonix Corp., Bedford, MA Lines: 27 I have found a serious bug in how Rich Burridge's calctool program. The program does not display binary numbers correctly. For example: 1) enter the number 4143710208 2) go into binary mode 3) the display will have 111101101111110000000000000000 This is incorrect. There should be 18, not 16 zeroes on the right hand side. % bc obase=2 4143710208 11110110111111000000000000000000 It seems to work fine on small numbered binary arithmetic. Has anyone found a fix for this? (I am running calctool V1.2 ona Sun 3/17 running SunOS 3.2.) pZ -- Paul Czarnecki -- My newsfeed's in Esperanto {{harvard,ll-xn}!adelie,{decvax,allegra,talcott}!encore}!munsell!pz