summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_eval.h
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-10-01 13:33:20 -0600
committerBrian Paul <brianp@vmware.com>2009-10-01 13:33:20 -0600
commit18883cdf2334511005973155fc517eb678dc0043 (patch)
treec4621af747a5073bbfa4abfe69f5752ed098adb2 /src/mesa/math/m_eval.h
parent521e4b9b7e3c79e7362f7cbd594a2e8cf74cdfe4 (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/math/m_eval.h')
0 files changed, 0 insertions, 0 deletions