Searched refs:rint (Results 1 – 25 of 36) sorted by relevance
12
233 int32_t yf1 = rint(yf * 0x10000); in mkYCoeff()234 int32_t yf2 = rint(yf * yf * 0x10000); in mkYCoeff()235 int32_t yf3 = rint(yf * yf * yf * 0x10000); in mkYCoeff()348 long xf16 = rint(xf * 0x10000); in kernelU4()349 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4()415 long xf16 = rint(xf * 0x10000); in kernelU2()416 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU2()482 long xf16 = rint(xf * 0x10000); in kernelU1()483 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU1()
79 IMPORT_F32_FN_F32(rint)
129 TEST_FUNC_1(rint);
1930 function: rint1941 rint() rounds half values to even. For example, <code>rint(0.5f)</code> returns 0.f and function1942 <code>rint(1.5f)</code> returns 2.f. Similarly, <code>rint(-0.5f)</code> returns -0.f and1943 <code>rint(-1.5f)</code> returns -2.f.1978 @rint() is similar but rounds half values toward even. @trunc() truncates the decimal fraction.2191 See @rint() and @round() for other rounding options.
825 f = rint(f);826 f2 = rint(f2);827 f3 = rint(f3);828 f4 = rint(f4);
311 TEST_FN_FUNC_FN(rint);
169 TEST_FN_FUNC_FN(rint);
3741 * rint: Round to even3745 * rint() rounds half values to even. For example, rint(0.5f) returns 0.f and3746 * rint(1.5f) returns 2.f. Similarly, rint(-0.5f) returns -0.f and3747 * 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.
297 TEST_FN_FUNC_FN(rint);
319 TEST_FN_FUNC_FN(rint);
380 BENCH_FN_FUNC_FN(rint);
937 <a href='rs_math.html#android_rs:rint'>rint</a>6448 <a name='android_rs:rint'></a>6451 <span class='sympad'>rint</span>6457 <td>float rint(float v);6462 …<td><a href='rs_value_types.html#android_rs:float2'>float2</a> rint(<a href='rs_value_types.html#a…6467 …<td><a href='rs_value_types.html#android_rs:float3'>float3</a> rint(<a href='rs_value_types.html#a…6472 …<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rint(<a href='rs_value_types.html#a…6482 <p> rint() rounds half values to even. For example, <code>rint(0.5f)</code> returns 0.f and6483 <code>rint(1.5f)</code> returns 2.f. Similarly, <code>rint(-0.5f)</code> returns -0.f and6484 <code>rint(-1.5f)</code> returns -2.f.[all …]
845 value = (float) (Math.rint(value * scale) / scale);
546 extern float __attribute__((overloadable)) rint(float);547 FN_FUNC_FN(rint) in FN_FUNC_FN() argument
2927 *(float*)buf1203 = rint(*(float*)buf1204);2928 *(float2*)buf1205 = rint(*(float2*)buf1206);2929 *(float3*)buf1207 = rint(*(float3*)buf1208);2930 *(float4*)buf1209 = rint(*(float4*)buf1210);
3019 *(float*)buf1203 = rint(*(float*)buf1204);3020 *(float2*)buf1205 = rint(*(float2*)buf1206);3021 *(float3*)buf1207 = rint(*(float3*)buf1208);3022 *(float4*)buf1209 = rint(*(float4*)buf1210);
2857 *(float*)buf1203 = rint(*(float*)buf1204);2858 *(float2*)buf1205 = rint(*(float2*)buf1206);2859 *(float3*)buf1207 = rint(*(float3*)buf1208);2860 *(float4*)buf1209 = rint(*(float4*)buf1210);