Lines Matching refs:trunc
5772 * round() is similar but rounds away from zero. trunc() truncates the decimal fraction.
5854 * rint() is similar but rounds half values toward even. trunc() truncates the decimal fraction.
6425 * trunc: Truncates a floating point
6429 * For example, trunc(1.7f) returns 1.f and trunc(-1.7f) returns -1.f.
6434 trunc(float v);
6437 trunc(float2 v);
6440 trunc(float3 v);
6443 trunc(float4 v);
6447 trunc(half v);
6452 trunc(half2 v);
6457 trunc(half3 v);
6462 trunc(half4 v);