Commit graph

2 commits

Author SHA1 Message Date
Timothy B. Terriberry
68242ac58c Eliminate the loop when decoding the split angle.
Use a closed-form formula for the search instead.
This requires an integer sqrt, so it is not actually closed-form,
 but the number of iterations is O(qb) instead of O(2**qb).
2010-07-28 00:20:16 +02:00
Jean-Marc Valin
48923ae996 Cleanup, de-inlining some math functions 2010-07-23 17:28:50 -04:00