mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@quark.vpplus.com>
To: Linux kernel mailing list <linux-kernel@vger.rutgers.edu>
Subject: Re: Linux Kernel Floating Point Emulation and CORDIC
Date: Thu, 23 Dec 1999 20:50:47 -0500	[thread overview]
Message-ID: <3862D177.F1EC9124@quark.vpplus.com> (raw)
In-Reply-To: <99122316092902.01246@cel2>

Arthur Jerijian wrote:
> 
> For the mathematics and theoretical computer science enthusiasts here on this
> list:
> 
> I have taken a look at the source code of the Linux Kernel floating point
> emulation engine for i386 (as of 2.2.12, don't know if it changed in 2.3.x). I
> noticed that it uses Taylor/Maclaurin polynomials to approximate the sine,
> cosine, tangent, and inverse tangent functions. Wouldn't CORDIC be a better
> algorithm for computing trigonometric and exponential functions instead? CORDIC
> is a method for calculating mathematical functions using only addition,
> shifting, and looking up entries in a table. More details can be found at
> http://www.ezcomm.com/%7Ecyliax/Articles/RobNav/sidebar.html

I don't think it's worth the effort to rewrite and retest the FP
emulation code.  It is only needed on some 386 and 486 machines, as all
pentiums and later always have built in FPUs.  Nobody should be doing
any serious number crunching on those old processors.  Just my 2 cents
though.

-- 

						Brian Gerst

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~1999-12-24  1:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-23 23:58 Arthur Jerijian
1999-12-24  1:50 ` Brian Gerst [this message]
1999-12-24 17:11   ` Matthew Wilcox
1999-12-24 22:53 nathan.zook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3862D177.F1EC9124@quark.vpplus.com \
    --to=bgerst@quark.vpplus.com \
    --cc=linux-kernel@vger.rutgers.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®