[linux-dvb] Large arrays

Manu Abraham abraham.manu at gmail.com
Mon Aug 27 22:19:57 CEST 2007

Hi all

While working on a tuner, i stumbled upon one of the usual problems
(floating point operations) in kernel
The options what i had were:

* use integer math calculations
* precompute the values where double precision is needed.

That said, the first option i tried for a while, after a few days (i
almost gave up ?) got really irritated with it.
The second option seemed a bit more comfortable, to precalculate the values.

The disadvantage in such a case is that the array which holds the
precomputed value is quite large in size, with that in mind, a different
question arose in my mind, whether such large arrays would be frowned
upon in kernel

The precomputed array is here


Any thoughts ?


More information about the linux-dvb mailing list