docs: Clarify what truncate means.
This commit is contained in:
@@ -899,8 +899,6 @@ NOT - Bitwise Not
|
|||||||
|
|
||||||
TRUNC - Truncate
|
TRUNC - Truncate
|
||||||
|
|
||||||
XXX how is this different from floor?
|
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
|
|
||||||
dst.x = trunc(src.x)
|
dst.x = trunc(src.x)
|
||||||
@@ -1130,7 +1128,7 @@ Functions
|
|||||||
|
|
||||||
round(x) Round x.
|
round(x) Round x.
|
||||||
|
|
||||||
trunc(x) Truncate x.
|
trunc(x) Truncate x, i.e. drop the fraction bits.
|
||||||
|
|
||||||
|
|
||||||
Keywords
|
Keywords
|
||||||
|
Reference in New Issue
Block a user