FANDOM


Trunc

Name Edit

Trunc - returns largest integer not greater than a scalar or each vector component.

Synopsis Edit

vector1 trunc(vector1 v);
vector2 trunc(vector2 v);
vector3 trunc(vector3 v);
vector4 trunc(vector4 v);

Parameters Edit

v
Vector or scalar which to truncate.

Description Edit

Returns the integral value nearest to but no larger in magnitude than v.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.