Path: utzoo!attcan!uunet!munnari.oz.au!murdu!ucsvc.ucs.unimelb.edu.au!wehi!baxter_a From: BAXTER_A@wehi.dn.mu.oz Newsgroups: comp.sys.amiga.tech Subject: Re: RE: Math in Lattice Message-ID: <11746@wehi.dn.mu.oz> Date: 23 Aug 90 09:35:07 GMT References: <3249@decuac.DEC.COM> Organization: Walter & Eliza Hall Institute Lines: 30 In article <3249@decuac.DEC.COM>, baker@wbc.enet.dec.com writes: >>Many of the examples from Numerical recipies don't work either. >>The explanation I got for it is that a lot of numerical work in C >>makes undue assumptions about the treatment of floats and doubles >>in functions. You could try #define double float to get a rough idea >>of what's going on. I gave up and hand coded. > > I've done a number of serious numerical projects on the Amiga > (some orbital mechanics stuff for modeling planetary motion, an > ODE solver, finite element stuff for PDE's, etc) using the FFP, > IEEE double precision, and the '882 IEEE libraries. My results > were rock-solid when compared against the same code on other > machines (VAXen). > > I'm running Lattice 5.04. > > It's true that the C version of Numerical Recipes has some funny > code in it; best to develop an understanding of the specific algorithm, > then make sure their code is doing what it says it is... > > Regards, > Art Baker | "Whatever happened to Fay Wrey -- > (usual disclaimers) | that delicate, satin-draped frame..." > ========================================================================= I didn't mean to imply that there was anything wrong with the amiga compilers, just that there was something wrong in assuming they do the same things with storage of variables as msdos compilers. And I'm not to sure that that's what the problem is! Regards Alan