From: Peter Williams <pwil3058@bigpond.net.au>
To: Olivier Galibert <galibert@pobox.com>, linux-kernel@vger.kernel.org
Subject: Re: Float numbers in module programming
Date: Fri, 31 Mar 2006 22:05:42 +1100 [thread overview]
Message-ID: <442D0D06.3050908@bigpond.net.au> (raw)
In-Reply-To: <20060331075758.GB93977@dspnet.fr.eu.org>
Olivier Galibert wrote:
> 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.
Fixed point is a special case of rational i.e. with a fixed denominator.
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
next prev parent reply other threads:[~2006-03-31 11:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 14:34 Float numbers in module programming 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
2006-03-31 11:05 ` Peter Williams [this message]
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=442D0D06.3050908@bigpond.net.au \
--to=pwil3058@bigpond.net.au \
--cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.