Home
last modified time | relevance | path

Searched refs:FloatToInt (Results 1 – 2 of 2) sorted by relevance

/art/test/422-type-conversion/src/
DMain.java347 assertIntEquals(1, $opt$FloatToInt(1F)); in floatToInt()
348 assertIntEquals(0, $opt$FloatToInt(0F)); in floatToInt()
349 assertIntEquals(0, $opt$FloatToInt(-0F)); in floatToInt()
350 assertIntEquals(-1, $opt$FloatToInt(-1F)); in floatToInt()
351 assertIntEquals(51, $opt$FloatToInt(51F)); in floatToInt()
352 assertIntEquals(-51, $opt$FloatToInt(-51F)); in floatToInt()
353 assertIntEquals(0, $opt$FloatToInt(0.5F)); in floatToInt()
354 assertIntEquals(0, $opt$FloatToInt(0.4999999F)); in floatToInt()
355 assertIntEquals(0, $opt$FloatToInt(-0.4999999F)); in floatToInt()
356 assertIntEquals(0, $opt$FloatToInt(-0.5F)); in floatToInt()
[all …]
/art/runtime/entrypoints/
Dmath_entrypoints_test.cc63 TEST_F(MathEntrypointsTest, FloatToInt) { in TEST_F() argument