Home | History | Annotate | Download | only in scriptc

Lines Matching full:rint

3741  * rint: Round to even
3745 * rint() rounds half values to even. For example, rint(0.5f) returns 0.f and
3746 * rint(1.5f) returns 2.f. Similarly, rint(-0.5f) returns -0.f and
3747 * rint(-1.5f) returns -2.f.
3752 rint(float v);
3755 rint(float2 v);
3758 rint(float3 v);
3761 rint(float4 v);
3791 * rint() is similar but rounds half values toward even. trunc() truncates the decimal fraction.
4078 * See rint() and round() for other rounding options.