From: Chris Ison <cisos@bigpond.net.au>
To: linux-sound@vger.kernel.org
Subject: why no floats in kernel?
Date: Tue, 19 Nov 2002 06:22:11 +0000 [thread overview]
Message-ID: <marc-linux-sound-103768733630620@msgid-missing> (raw)
I was wondering why floats cannot be used in the kernel, I did read it
some where, but I also notice befs and some other driver does use
floats.
anyways, the problem is, I need to know how to turn this math into ints,
yes I know I can bit shift but it doesn't help initially till I get
around the floating point result.
( sound rate / sample rate ) * (note freq / sample freq)
Thanks in advance
Chris Ison
reply other threads:[~2002-11-19 6:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-linux-sound-103768733630620@msgid-missing \
--to=cisos@bigpond.net.au \
--cc=linux-sound@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.