1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib
Michael Sevakis b2a373eb64 Replace fp_sqrt function with one that only uses shift, or and sub.
Simply extends the current isqrt() to be able to do fractional bits
and improves the initial estimate using clz(). iqrt() itself is
no more and is equivalent to fp_sqrt(x, 0). The original also had
a small bug where the guess comparision should have been >=, not >.

Uses no large integer math or division and is very accurate
(simply returns a truncated fraction).

Change-Id: I2ae26e6505df1770dc01e56220f7385369f90ae9
2017-10-01 20:29:38 -04:00
..
arm_support ARM support: provide compiler a better popcount function 2017-09-07 15:45:55 -04:00
fixedpoint Replace fp_sqrt function with one that only uses shift, or and sub. 2017-10-01 20:29:38 -04:00
libsetjmp Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
rbcodec fix warning in vorbis 2017-09-17 15:09:39 +02:00
skin_parser Limit more variables to file scope 2015-01-11 21:40:51 +01:00
tlsf Fix dangerous casts 2017-02-04 17:24:47 +01:00
unwarminder Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00