From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dec0a6ed5b5044de X-Google-Attributes: gid103376,public From: stt@houdini.camb.inmet.com (Tucker Taft) Subject: Re: Code portability question Date: 1999/01/23 Message-ID: #1/1 X-Deja-AN: 435960591 Sender: news@inmet.camb.inmet.com (USENET news) X-Nntp-Posting-Host: houdini.camb.inmet.com References: <36A94B78.963F3215@wvu.edu> Organization: Intermetrics, Inc. Newsgroups: comp.lang.ada Date: 1999-01-23T00:00:00+00:00 List-Id: Mike Werner (mwerner@wvu.edu) wrote: : ... The code was written and tested on the PC, : then uploaded to the Unix server. Once on the server, a compile was : attempted but failed, necessitating the rewrite. The code was not : complex ... : Now, one side claims that this was necessitated by the architecture : difference, due to the K6 CPU being designed differently and handling : floats differently. The other claims that either the code was badly : written or the compiler used was faulty or ... something was broken : somewhere. With no other information, I would favor the second group, though at least a little more information would help tremendously. The representation and detailed properties of floating point numbers are irrelevant to most programs which are not doing serious number crunching. Can you indicate the nature of the rewrite? Give an example of what the old and new versions looked like, and in what way the old version failed on the Unix server. It also wouldn't hurt to identify the CPUs, operating systems, and compilers involved. Given this information, we might be able to provide some more useful (or at least more informed ;-) feedback. : I would appreciate any pointers as to which is correct. But please be : gentle - I'm still learning this language and if you get technical on me : I could easily get lost. : -- : Mike Werner KA8YSD | "Where do you want to go today?" : ICQ# 12934898 | "As far from Redmond as possible!" : '91 GS500E | : Morgantown WV | -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Distributed IT Solutions (www.averstar.com/tools) AverStar (formerly Intermetrics, Inc.) Burlington, MA USA