docs: Clarify what truncate means.
authorMichal Krol <michal@vmware.com>
Mon, 4 Jan 2010 12:21:32 +0000 (13:21 +0100)
committerMichal Krol <michal@vmware.com>
Mon, 4 Jan 2010 12:21:32 +0000 (13:21 +0100)
src/gallium/docs/source/tgsi.rst

index 028ddce8393c13c5f5b8e1f57b2becf972ad1dc0..0a3aa4f8c4d841aea2666d7fcfb950708f52faa0 100644 (file)
@@ -899,8 +899,6 @@ NOT - Bitwise Not
 
 TRUNC - Truncate
 
-XXX how is this different from floor?
-
 .. math::
 
   dst.x = trunc(src.x)
@@ -1130,7 +1128,7 @@ Functions
 
   round(x)          Round x.
 
-  trunc(x)          Truncate x.
+  trunc(x)          Truncate x, i.e. drop the fraction bits.
 
 
 Keywords