summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_math.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-11-10 20:22:36 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-11-10 20:22:36 -0700
commitff42991c720bc1cfbf72194447fde0bebbd65b85 (patch)
tree528deac765dd208c797efe394dc28e38009d0b82 /src/gallium/auxiliary/util/u_math.c
parent1dae2be1f67d7367173f32c90f8d98311aa7b102 (diff)
gallium: fix comment again. A half-closed interval was intended.
Never saw the [a,b[ notation before.
Diffstat (limited to 'src/gallium/auxiliary/util/u_math.c')
-rw-r--r--src/gallium/auxiliary/util/u_math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_math.c b/src/gallium/auxiliary/util/u_math.c
index 9c5f616ceb..d1571cd1fc 100644
--- 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"
-/** 2^x, for x in [-1.0, 1.0] */
+/** 2^x, for x in [-1.0, 1.0) */
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];