summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-05-06 13:01:12 -0400
committerBrian Paul <brianp@vmware.com>2011-05-06 10:33:15 -0600
commitebc0b2dca0eb6510189d433851bd475475e69aa6 (patch)
treefc5e61ade03ad2e24dd691a003c2d62b3b40027b /acinclude.m4
parent03615c02d81437cf546609fc6a39c6c73be39360 (diff)
mesa: replace ONE_DIV_LN2 constant with M_LOG2E
1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions