mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 16:40:13 +01:00
docs: Clarify what truncate means.
This commit is contained in:
parent
cef218062a
commit
07f416cdc9
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue