From: Olivier Galibert <galibert@pobox.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Float numbers in module programming
Date: Fri, 31 Mar 2006 09:57:58 +0200 [thread overview]
Message-ID: <20060331075758.GB93977@dspnet.fr.eu.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0603301342410.1215@chaos.analogic.com>
On Thu, Mar 30, 2006 at 01:46:20PM -0500, linux-os (Dick Johnson) wrote:
> Yeah. The correct word was irrational, which is its definition. The
> point was that one can do a lot of very accurate work on real numbers
> without using the FP unit and the decimal system.
As long as you don't use sin/cos (oops, no 3D, no polar coordinates,
no FFT), sqrt (oops no lenghts), pi (oops no non-polygonal surfaces)
or ln/exp (oops, a lot of things are gone there).
Working with rationals is not that realistic nowadays except in things
like mathematica, maple and friends. Fixed-point though is still very
realistics, it's just a different precision/scale tradeoff than fp,
and one you control.
OG.
next prev parent reply other threads:[~2006-03-31 7:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 14:34 beware
2006-03-29 15:02 ` linux-os (Dick Johnson)
2006-03-30 8:11 ` Jan Engelhardt
2006-03-30 13:09 ` linux-os (Dick Johnson)
2006-03-30 17:23 ` Phillip Susi
2006-04-03 6:55 ` Helge Hafting
2006-04-03 9:20 ` Jan Engelhardt
2006-03-30 17:31 ` Al Viro
2006-03-30 17:40 ` Roland Dreier
2006-03-30 18:02 ` Valdis.Kletnieks
2006-03-30 18:26 ` Andre Noll
2006-03-30 18:46 ` linux-os (Dick Johnson)
2006-03-31 7:57 ` Olivier Galibert [this message]
2006-03-31 11:05 ` Peter Williams
2006-03-29 15:07 ` Helge Hafting
2006-03-30 8:12 ` Jan Engelhardt
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=20060331075758.GB93977@dspnet.fr.eu.org \
--to=galibert@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/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®