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,fedc2d05e82c9174 X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Calculating SQRT in ADA Date: 1999/03/30 Message-ID: <7dq51l$29h$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 460682294 References: <7dbv6t$4u5$1@nnrp1.dejanews.com> <19990324201959.00800.00000708@ngol04.aol.com> <7dei9a$dvo$1@nnrp1.dejanews.com> <7dhjhi$27a$1@nnrp1.dejanews.com> <36FFF83A.BE789C93@mitre.org> X-Http-Proxy: 1.0 x1.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Mar 30 09:20:59 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-03-30T00:00:00+00:00 List-Id: In article <36FFF83A.BE789C93@mitre.org>, "Robert I. Eachus" wrote: > Robert, your memory is going as you are getting older. > ;-) In the > sixties and seventies, there were some extremely > atrocious > implementations in language run-time libraries. The > worst horror was > the URAND for the IBM 360 which caused dozens of > peer-reviewed papers to > be withdrawn. But I also remember many trigonometric > libraries which > used polynomical approximations that were good to only > six decimal > places--even for double precision. It would be nice to see chapter and verse cited for this (perhaps this horrible behavioor comes from the Honeywell compiler that you always like to cite even though it never saw the light of day :-) In fact the IBM trigonometric routines were excellent on both the 7094 and the 360. Indeed it is from Hirondo Kuki (I hope I remember the spelling right, this is from a long time ago on the 7094) that I learned about how math library routines were written. I will say again, I *far* better trust library routines written by someone who knows what they are doing (which ever since 7094 days tends to be the case, given the high standards set by HK), than routines written by people who just don't know math stuff. And please note, this discussion is about elementary functions, your reference to URAND, though it reflects your own particular interest in random number generation, is not germane to the thread on square root! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own