Searched refs:readFloat (Results 1 – 3 of 3) sorted by relevance
/dalvik/dx/junit-tests/com/android/dex/ |
D | EncodedValueReaderTest.java | 65 assertEquals(Float.NEGATIVE_INFINITY, readerOf(48, -128, -1).readFloat()); in testReadFloat() 66 assertEquals(Float.POSITIVE_INFINITY, readerOf(48, -128, 127).readFloat()); in testReadFloat() 67 assertEquals(Float.NaN, readerOf(48, -64, 127).readFloat()); in testReadFloat() 68 assertEquals(-0.0f, readerOf(16, -128).readFloat()); in testReadFloat() 69 assertEquals(0.0f, readerOf(16, 0).readFloat()); in testReadFloat() 70 assertEquals(0.5f, readerOf(16, 63).readFloat()); in testReadFloat() 71 assertEquals(1f, readerOf(48, -128, 63).readFloat()); in testReadFloat() 72 assertEquals(1.0E06f, readerOf(80, 36, 116, 73).readFloat()); in testReadFloat() 73 assertEquals(1.0E12f, readerOf(112, -91, -44, 104, 83).readFloat()); in testReadFloat()
|
/dalvik/dx/src/com/android/dex/ |
D | EncodedValueReader.java | 166 public float readFloat() { in readFloat() method in EncodedValueReader 253 readFloat(); in skipValue()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 309 long longBits = ((long) Float.floatToIntBits(reader.readFloat())) << 32; in transform()
|