Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!cbmvax!fred From: fred@cbmvax.UUCP Newsgroups: comp.sys.cbm Subject: Re: C Power 128 floating point to integer conversion bug Message-ID: <2675@cbmvax.UUCP> Date: Mon, 2-Nov-87 08:19:30 EST Article-I.D.: cbmvax.2675 Posted: Mon Nov 2 08:19:30 1987 Date-Received: Wed, 4-Nov-87 20:01:49 EST References: <2119@gryphon.CTS.COM> Organization: Commodore Technology, West Chester, PA Lines: 22 In article <2119@gryphon.CTS.COM>, howie@pnet02.cts.com (Howard Herman) writes: > Well one source of the prob may relate to the Upgrade ROM's for the > 128. It was supposed to fix this prob, but it still is in evidence. > A=8.75:B=INT(A):C=A-B:PRINT C > Now you would expect to get ".75". However, well I'll let you run it, > and maybe this is where your prob stems from. 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. Incidentally, I have fully described the C128 math routines in the DEVpack manual. I will announce when it's available, where to get it, and how much $$$$ just as soon as this engineer finds out. -- -- Fred Bowen uucp: {ihnp4|rutgers|caip}!cbmvax!fred arpa: cbmvax!fred@RUTGERS.EDU tele: 215 431-9100 Commodore Electronics, Ltd., 1200 Wilson Drive, West Chester, PA, 19380