Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
trunc Function (fast_math)
Collapse the table of content
Expand the table of content

trunc Function (fast_math)

Truncates the argument to the integer component

inline float trunc(
   float _X
) restrict(amp);


Floating-point value

Returns the integer component of the argument

Header: amp_math.h

Namespace: Concurrency::fast_math

© 2015 Microsoft