Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-17 | gallium: Use costum log2 for all windows builds. | José Fonseca | |
2008-11-14 | gallium: increase table size for fast log/pow functions | Brian Paul | |
The various conformance tests pass now. | |||
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-09 | util: Fix util_fast_pow/exp2/log2. | Brian | |
- 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. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h | |||
2008-09-18 | util: Add missing p_debug.h include. | José Fonseca | |
2008-09-13 | gallium: add another value check to util_fast_pow() | Brian Paul | |
Fixes glitches seen in morph3d demo. | |||
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-22 | gallium: insert __cplusplus/extern wrappings | Brian Paul | |
2008-08-22 | gallium: move math macros from p_util.h to u_math.h | Brian Paul | |
More can be done... | |||
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(). |