Home
last modified time | relevance | path

Searched refs:trunc (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestTrunc.rscript24 return trunc(inV);
28 return trunc(inV);
32 return trunc(inV);
36 return trunc(inV);
40 return trunc(inV);
44 return trunc(inV);
48 return trunc(inV);
52 return trunc(inV);
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java370 public void trunc() { in trunc() method in HalfTest
371 assertShortEquals(POSITIVE_INFINITY, Half.trunc(POSITIVE_INFINITY)); in trunc()
372 assertShortEquals(NEGATIVE_INFINITY, Half.trunc(NEGATIVE_INFINITY)); in trunc()
373 assertShortEquals(POSITIVE_ZERO, Half.trunc(POSITIVE_ZERO)); in trunc()
374 assertShortEquals(NEGATIVE_ZERO, Half.trunc(NEGATIVE_ZERO)); in trunc()
375 assertShortEquals(NaN, Half.trunc(NaN)); in trunc()
376 assertShortEquals(LOWEST_VALUE, Half.trunc(LOWEST_VALUE)); in trunc()
377 assertShortEquals(POSITIVE_ZERO, Half.trunc(toHalf(0.2f))); in trunc()
378 assertShortEquals(NEGATIVE_ZERO, Half.trunc(toHalf(-0.2f))); in trunc()
379 assertEquals(0.0f, toFloat(Half.trunc(toHalf(0.7f))), 1e-6f); in trunc()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java112 static native float trunc(float x); in trunc() method in CoreMathVerifier
1090 static private Target.Floaty trunc(double d, Target t) { in trunc() method in CoreMathVerifier
1093 trunc((float) in.mid()), in trunc()
1094 trunc((float) in.min()), in trunc()
1095 trunc((float) in.max())); in trunc()
3231 args.out = trunc(args.inVDouble, t);
3238 trunc(in.mid32()),
3239 trunc(in.min32()),
3240 trunc(in.max32()));
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dcurrent.txt47084 method @HalfFloat public static short trunc(@HalfFloat short);