projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[g3dvl] start to cleanup the mess
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_math.c
diff --git
a/src/gallium/auxiliary/util/u_math.c
b/src/gallium/auxiliary/util/u_math.c
index 5b3cab4642a378864d2d763f9711051e0da889c8..2811475fa0017aeb721bcbe3e7a3ad0ab2c6184f 100644
(file)
--- a/
src/gallium/auxiliary/util/u_math.c
+++ b/
src/gallium/auxiliary/util/u_math.c
@@
-30,7
+30,7
@@
#include "util/u_math.h"
#include "util/u_math.h"
-/** 2^x, for x in [-1.0, 1.0
[
*/
+/** 2^x, for x in [-1.0, 1.0
)
*/
float pow2_table[POW2_TABLE_SIZE];
float pow2_table[POW2_TABLE_SIZE];
@@
-43,7
+43,7
@@
init_pow2_table(void)
}
}
-/** log2(x), for x in [1.0, 2.0
[
*/
+/** log2(x), for x in [1.0, 2.0
)
*/
float log2_table[LOG2_TABLE_SIZE];
float log2_table[LOG2_TABLE_SIZE];
@@
-52,7
+52,7
@@
init_log2_table(void)
{
unsigned i;
for (i = 0; i < LOG2_TABLE_SIZE; i++)
{
unsigned i;
for (i = 0; i < LOG2_TABLE_SIZE; i++)
- log2_table[i] = (float) log2(1.0 + i * (1.0 / LOG2_TABLE_S
IZ
E));
+ log2_table[i] = (float) log2(1.0 + i * (1.0 / LOG2_TABLE_S
CAL
E));
}
}