Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: comp.lang.c Subject: Re: math function speed Message-ID: <5640@brl-smoke.ARPA> Date: Wed, 18-Feb-87 15:00:39 EST Article-I.D.: brl-smok.5640 Posted: Wed Feb 18 15:00:39 1987 Date-Received: Fri, 20-Feb-87 21:22:23 EST References: <4943@mimsy.UUCP> <2550005@hpisod2.HP> <756@unc.unc.UUCP> <5622@brl-smoke.ARPA> <2050@ulysses.homer.nj.att.com> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Distribution: na Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 23 In article <2050@ulysses.homer.nj.att.com> ggs@ulysses.homer.nj.att.com (Griff Smith) writes: >What's your definition of twice as accurate? In a test where the result of "sqrt" was compared to known correct answers, for the following arguments: 0 1/5 1/3 1/2 1 2 e 3 pi 4 5 9 10 16 49 100 10000 I got the following results: SVR2 function "sqrt": max abs error: 2.7755576e-17 max rel error: 2.4037034e-17 4.3BSD function "sqrt": max abs error: 5.5511151e-17 max rel error: 3.3669215e-17