Path: utzoo!utgpu!news-server.csri.toronto.edu!qucdn!kellydk Newsgroups: comp.sys.amiga.tech Subject: math in Lattice Organization: Queen's University at Kingston Date: Tuesday, 21 Aug 1990 13:38:01 EDT From: Doug Kelly Message-ID: <90233.133801KELLYDK@QUCDN.BITNET> I'm porting some numerical code from a PC to an IBM RS/6000 and, since I hate telnet, I 'ANSI'd' the program on my Amiga, and then recompiled it on the 6000. Here's the problem - the Amiga version gives the wrong results!! The program compiles fine, runs to completion with no errors, but the results are wrong. THE SAME CODE runs on both the pc (Turbo) and the 6000. I'm using Lattice 5.02 (I know it's old). I've tried all three math formats - ffp, ieee and inline 881 and none of them come out right. My first instinct wat to run it through CPR, but CPR doesn't seem to like the command line and the program doesn't get the proper file arguements, and so won't run. I don't have time to thoroughly trace without a debugger, so I'm asking for tips. If anyone knows what may be causing this, please send me email. thanx in advance (benchmarks? 17 hours on an 8Mhz XT; about 25 min on my A1000/Lucas 1.25 minutes on the 6000)