From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12731 invoked from network); 6 Oct 1998 12:15:30 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 6 Oct 1998 12:15:30 -0000 Received: from ns11.rim.or.jp (root@ns11.rim.or.jp [202.247.130.230]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA12629 for ; Tue, 6 Oct 1998 08:11:31 -0400 Received: from rayearth.rim.or.jp (rayearth.rim.or.jp [202.247.130.242]) by ns11.rim.or.jp (8.8.5/3.5Wpl2-ns11/RIMNET-2) with ESMTP id VAA16472 for ; Tue, 6 Oct 1998 21:11:29 +0900 (JST) Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.5/3.5Wpl2-uucp1/RIMNET) with UUCP id VAA24951 for axp-list@redhat.com; Tue, 6 Oct 1998 21:11:28 +0900 (JST) Received: from localhost (goto@news.statabo.rim.or.jp [133.9.131.1]) by statabo.rim.or.jp (8.6.12/3.4Wbeta3-uucp) with ESMTP id VAA00475; Tue, 6 Oct 1998 21:08:18 +0900 To: axp-list@redhat.com Subject: fast sqrt routine X-Mailer: Mew version 1.93b52 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19981006210818T.goto@statabo.rim.or.jp> Date: Tue, 06 Oct 1998 21:08:18 +0900 From: Kazushige Goto X-Dispatcher: imput version 980702 Hi, I make a fast sqrt routine for 21164 which runs as fast as DEC's libm(a little bit faster). This souce also includes various exceptional handling(NaN, +-Inf and Subnormal(Not Emulation!, it runs as fast as glibc's assembler routine)). This is preliminary source, because of accuracy. Although relative error is within 2 ulp(same as libffm's sqrt routine), it shows a little bit WORSE than libffm's. Now I'm trying to improve accuracy. Does anyone know how to make "correct" table? If you're interested in, you can find at ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/libffm/sqrt-test.tar.gz (file size is about 4kB) Note, I'll delete this file within 1 week. Thanks, goto@statabo.rim.or.jp