Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.arch Subject: Re: Killer Micro II Message-ID: <2498@crdos1.crd.ge.COM> Date: 6 Sep 90 20:25:23 GMT References: <527@llnl.LLNL.GOV> <603@array.UUCP> <2482@l.cc.purdue.edu> Reply-To: davidsen@crdos1.crd.ge.com (bill davidsen) Followup-To: poster Organization: GE Corp R&D Center, Schenectady NY Lines: 17 In article meissner@osf.org (Michael Meissner) writes: | Note, C's promotions of floats into doubles is rather unique. Most | languages that I'm familar with add two single precision floating | point in single precision mode, rather than promoting both sides into | double precision and doing a double precision add. This certainly | simplifies the compiler/library, in that you only have to support one | flavor of the math routines, and have less code patterns to deal with. ANSI C allows single precision. As long as the results is not changed, the code may do what it likes. And many C compilers have done this all along. Also ANSI allows float rather than double to be passed as an argument. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) VMS is a text-only adventure game. If you win you can use unix.