diff options
author | Vinson Lee <vlee@vmware.com> | 2009-10-01 13:33:20 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-01 13:33:20 -0600 |
commit | 18883cdf2334511005973155fc517eb678dc0043 (patch) | |
tree | c4621af747a5073bbfa4abfe69f5752ed098adb2 /src/mesa/drivers/svga | |
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/drivers/svga')
0 files changed, 0 insertions, 0 deletions