Home
last modified time | relevance | path

Searched refs:floatToRawIntBits (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DMath.java676 int intBits = Float.floatToRawIntBits(a); in round()
1378 return Float.intBitsToFloat(0x7fffffff & Float.floatToRawIntBits(a)); in abs()
1434 private static long negativeZeroFloatBits = Float.floatToRawIntBits(-0.0f);
1456 (Float.floatToRawIntBits(a) == negativeZeroFloatBits)) { in max()
1536 (Float.floatToRawIntBits(b) == negativeZeroFloatBits)) { in min()
1947 return Float.intBitsToFloat((Float.floatToRawIntBits(sign) & in copySign()
1949 (Float.floatToRawIntBits(magnitude) & in copySign()
1974 return ((Float.floatToRawIntBits(f) & FloatConsts.EXP_BIT_MASK) >> in getExponent()
2162 int transducer = Float.floatToRawIntBits(start + 0.0f); in nextAfter()
2266 return Float.intBitsToFloat(Float.floatToRawIntBits(f) + in nextUp()
[all …]
DFloat.java744 int result = floatToRawIntBits(value); in floatToIntBits()
789 public static native int floatToRawIntBits(float value); in floatToRawIntBits() method in Float
/libcore/luni/src/test/java/libcore/java/lang/
DOldFloatTest.java58 assertEquals(0x7f800000, Float.floatToRawIntBits(Float.POSITIVE_INFINITY)); in test_floatToRawIntBitsF()
59 assertEquals(0xff800000, Float.floatToRawIntBits(Float.NEGATIVE_INFINITY)); in test_floatToRawIntBitsF()
60 assertEquals(0x7fc00000, Float.floatToRawIntBits(Float.NaN)); in test_floatToRawIntBitsF()
DIntrinsicTest.java123 Float.floatToRawIntBits(0.0f); in testFloat_floatToRawIntBits()
/libcore/benchmarks/src/benchmarks/regression/
DFloatBenchmark.java36 result = Float.floatToRawIntBits(f); in timeFloatToRawIntBits()
49 … throw new RuntimeException(Float.toString(result) + " " + Float.floatToRawIntBits(result)); in timeIntBitsToFloat()
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java282 assertEquals(0xA3A2A1A0, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
283 assertEquals(0xA7A6A5A4, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
284 assertEquals(0xABAAA9A8, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
294 assertEquals(0xA0A1A2A3, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
295 assertEquals(0xA4A5A6A7, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
296 assertEquals(0xA8A9AAAB, Float.floatToRawIntBits(b.getFloat())); in byteBufferTest()
383 assertEquals(0xA4A3A2A1, Float.floatToRawIntBits(fb.get())); in byteBufferTest()
390 assertEquals(0xA1A2A3A4, Float.floatToRawIntBits(fb.get())); in byteBufferTest()
DBufferTest.java98 assertEquals(0, Float.floatToRawIntBits(floats[0])); in testByteSwappedBulkGet()
99 assertEquals(0x01020304, Float.floatToRawIntBits(floats[1])); in testByteSwappedBulkGet()
100 assertEquals(0x05060708, Float.floatToRawIntBits(floats[2])); in testByteSwappedBulkGet()
101 assertEquals(0, Float.floatToRawIntBits(floats[3])); in testByteSwappedBulkGet()
103 assertEquals(0, Float.floatToRawIntBits(floats[0])); in testByteSwappedBulkGet()
104 assertEquals(0x04030201, Float.floatToRawIntBits(floats[1])); in testByteSwappedBulkGet()
105 assertEquals(0x08070605, Float.floatToRawIntBits(floats[2])); in testByteSwappedBulkGet()
106 assertEquals(0, Float.floatToRawIntBits(floats[3])); in testByteSwappedBulkGet()
/libcore/ojluni/src/main/native/
DFloat.c64 NATIVE_METHOD(Float, floatToRawIntBits, "(F)I"),
/libcore/ojluni/src/main/java/java/nio/
DBits.java461 putIntL(bb, bi, Float.floatToRawIntBits(x)); in putFloatL()
465 putIntL(a, Float.floatToRawIntBits(x)); in putFloatL()
469 putIntB(bb, bi, Float.floatToRawIntBits(x)); in putFloatB()
473 putIntB(a, Float.floatToRawIntBits(x)); in putFloatB()
DDirectByteBuffer.java796 int y = Float.floatToRawIntBits(x); in putFloat()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DFloat.java131 public static native int floatToRawIntBits(float value); in floatToRawIntBits() method in Float
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DFloat.annotated.java81 public static native int floatToRawIntBits(float value); in floatToRawIntBits() method in Float
/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java426 int transducer = Float.floatToRawIntBits(f); in ilogb()
DFloatingDecimal.java1557 int ieeeBits = Float.floatToRawIntBits(fValue); // IEEE-754 bits of float candidate in floatValue()
1790 int fBits = Float.floatToRawIntBits( f ); in getBinaryToASCIIConverter()
/libcore/luni/src/main/java/libcore/util/
DFP16.java777 int bits = Float.floatToRawIntBits(f); in toHalf()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java186 assertTrue("Wrong raw bits", Float.floatToRawIntBits(f) == i); in test_floatToRawIntBitsF()
/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java2056 while (left <= right && Float.floatToRawIntBits(a[left]) < 0) { in sort()
2086 if (Float.floatToRawIntBits(ak) < 0) { // ak is -0.0f in sort()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java2268 return int2bytes(Float.floatToRawIntBits(value), order); in float2bytes()
/libcore/api/
Dcurrent.txt3059 method public static int floatToRawIntBits(float);