diff options
author | Vinson Lee <[email protected]> | 2009-10-01 13:33:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-01 13:33:20 -0600 |
commit | 18883cdf2334511005973155fc517eb678dc0043 (patch) | |
tree | c4621af747a5073bbfa4abfe69f5752ed098adb2 /src/mesa/vbo/vbo_rebase.c | |
parent | 521e4b9b7e3c79e7362f7cbd594a2e8cf74cdfe4 (diff) |
mesa: Return -FLT_MAX instead of 0 for LG2(0).
lim x->0 log(x) = -inf so -FLT_MAX is a better approximation than 0
for LG2(0).
Diffstat (limited to 'src/mesa/vbo/vbo_rebase.c')
0 files changed, 0 insertions, 0 deletions