Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-01 | util: Fix util_fast_pow/exp2/log2. | José Fonseca | |
- Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. | |||
2008-08-23 | util: Silence compiler warnings on Windows. | Michal Krol | |
2008-08-22 | gallium: new u_math.[ch] files for math functions | Brian Paul | |
So far, optimized/low-precision versions of exp(), exp2(), log2(), pow(). |