Mesa (gallium-0.1): gallium: fix comment again. A half-closed interval was intended.
Brian Paul
brianp at kemper.freedesktop.org
Tue Nov 11 03:23:49 UTC 2008
Module: Mesa
Branch: gallium-0.1
Commit: ff42991c720bc1cfbf72194447fde0bebbd65b85
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff42991c720bc1cfbf72194447fde0bebbd65b85
Author: Brian <brian.paul at tungstengraphics.com>
Date: Mon Nov 10 20:22:36 2008 -0700
gallium: fix comment again. A half-closed interval was intended.
Never saw the [a,b[ notation before.
---
src/gallium/auxiliary/util/u_math.c | 4 ++--
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 9c5f616..d1571cd 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];
More information about the mesa-commit
mailing list