Large arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

http://www.jusst.de/manu/mc44s80x_array.c

Any thoughts ?

Regards,
Manu

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux