Browse Source

docs: Clarify what truncate means.

tags/7.8-rc1
Michal Krol 16 years ago
parent
commit
07f416cdc9
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/gallium/docs/source/tgsi.rst

+ 1
- 3
src/gallium/docs/source/tgsi.rst View 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

Loading…
Cancel
Save