Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kazushige Goto <goto@statabo.rim.or.jp>
To: axp-list@redhat.com
Subject: fast sqrt routine
Date: Tue, 06 Oct 1998 21:08:18 +0900	[thread overview]
Message-ID: <19981006210818T.goto@statabo.rim.or.jp> (raw)

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


             reply	other threads:[~1998-10-06 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-06 12:08 Kazushige Goto [this message]
1998-10-10  3:03 ` fast sqrt routine Kazushige Goto
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox