3.290. __nv_truncf

Prototype:

float @__nv_truncf(float %x) 

Description:

Round x to the nearest integer value that does not exceed x in magnitude.

Returns:

Returns truncated integer value.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes