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_half.py
diff --git
a/src/gallium/auxiliary/util/u_half.py
b/src/gallium/auxiliary/util/u_half.py
index 8007482e971ddab4359d04d8f1e5861c59b0cdfa..915cf3b9273951f68d3c1d39e39ef65c6fc3b818 100644
(file)
--- a/
src/gallium/auxiliary/util/u_half.py
+++ b/
src/gallium/auxiliary/util/u_half.py
@@
-83,11
+83,11
@@
for i in xrange(1, 1024):
# normalize number
while (m & 0x00800000) == 0:
- e -= 0x00800000
;
- m <<= 1
;
+ e -= 0x00800000
+ m <<= 1
- m &= ~0x00800000
;
- e += 0x38800000
;
+ m &= ~0x00800000
+ e += 0x38800000
value(m | e)
# normals