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 028ddce..0a3aa4f 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