Searched refs:trunc (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestTrunc.rscript | 24 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/ |
D | HalfTest.java | 370 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/suite/audio_quality/lib/src/ |
D | FileUtil.cpp | 103 mFile.open(fileName, std::ios::out | std::ios::trunc); in init()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | Buffer.cpp | 117 std::ios::trunc); in saveToFile()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 112 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()));
|