All of lore.kernel.org
 help / color / mirror / Atom feed
* why no floats in kernel?
@ 2002-11-19  6:22 Chris Ison
  0 siblings, 0 replies; only message in thread
From: Chris Ison @ 2002-11-19  6:22 UTC (permalink / raw)
  To: linux-sound

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-19  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19  6:22 why no floats in kernel? Chris Ison

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.