From: Michal Krol Date: Mon, 4 Jan 2010 12:21:32 +0000 (+0100) Subject: docs: Clarify what truncate means. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07f416cdc9cfdbad6bbeee0cbd826252e93ed26e;p=mesa.git docs: Clarify what truncate means. --- diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 028ddce8393..0a3aa4f8c4d 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -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