Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!jade!ucbcad!ames!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!cadovax!gryphon!pnet02!howie From: howie@pnet02.cts.com (Howard Herman) Newsgroups: comp.sys.cbm Subject: Re: C Power 128 floating point to integer conversion bug Message-ID: <2162@gryphon.CTS.COM> Date: Thu, 5-Nov-87 06:30:50 EST Article-I.D.: gryphon.2162 Posted: Thu Nov 5 06:30:50 1987 Date-Received: Sun, 8-Nov-87 11:01:10 EST Sender: root@gryphon.CTS.COM Organization: People-Net [pnet02], Redondo Beach, CA Lines: 23 In article, fred@cbmvax.UUCP (Fred Bowen) writes: >I think you mis-remembered the magic numbers- the ones don't cause a >problem on either ROM set. If you found some numbers that do not work >on the upgrade ROMs, I'd like to hear about it. >The C Power problem is unrelated to this. The formula, recalled on the fly was wrong. The actual one that causes a prob with the upgrade ROM's for the 128 is: A=8.9:B=INT(A):C=A-B:PRINT C With the new ROM's installed, I have no way of knowing if this is a new prob, or a carry over from the old ROM's. I do know that the new ROM's fixed the trailing decimals when doing multiplication with numbers in the thousands range. While I may be the bearer of news of a bug(?), I take no credit for its discovery. As far as I know that goes to the illustrous CBM*BOB of P-Link. Howie Herman howie@pnet02.cts.com P-LINK: YORK UUCP: {hplabs!hp-sdd!crash, ihnp4!scgvaxd!cadovax}!gryphon!pnet02!howie INET: howie@pnet02.CTS.COM