/dalvik/libcore/luni/src/main/native/ |
java_lang_Float.c | 15 float f; 16 } Float; 30 * public static native int floatToIntBits(float value) 34 Float f; 48 * public static native int floatToRawBits(float value) 52 Float f; 60 * public static native float intBitsToFloat(int bits) 64 Float f; 82 return jniRegisterNativeMethods(env, "java/lang/Float",
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/d2f/ |
Test_d2f.java | 54 assertEquals(Float.POSITIVE_INFINITY, t.run(Double.MAX_VALUE)); 78 assertTrue(Float.isNaN(t.run(Double.NaN))); 86 assertTrue(Float.isInfinite(t.run(Double.POSITIVE_INFINITY))); 94 assertTrue(Float.isInfinite(t.run(Double.NEGATIVE_INFINITY)));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/double_to_float/ |
Test_double_to_float.java | 51 * so this conversion of long to float makes no sense but shall not crash the VM. 66 assertEquals(Float.POSITIVE_INFINITY, t.run(Double.MAX_VALUE)); 90 assertTrue(Float.isNaN(t.run(Double.NaN))); 98 assertTrue(Float.isInfinite(t.run(Double.POSITIVE_INFINITY))); 106 assertTrue(Float.isInfinite(t.run(Double.NEGATIVE_INFINITY))); 121 * @title type of argument - float
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
AssertionError.java | 98 * {@link String#valueOf(float)} with the specified float value. 103 public AssertionError(float detailMessage) { 104 this(Float.toString(detailMessage));
|
Float.java | 21 * The wrapper for the primitive type {@code float}. 26 public final class Float extends Number implements Comparable<Float> { 33 private final float value; 36 * Constant for the maximum {@code float} value, (2 - 2<sup>-23</sup>) * 2<sup>127</sup>. 38 public static final float MAX_VALUE = 3.40282346638528860e+38f; 41 * Constant for the minimum {@code float} value, 2<sup>-149</sup>. 43 public static final float MIN_VALUE = 1.40129846432481707e-45f; 46 * Constant for the Not-a-Number (NaN) value of the {@code float} type. 48 public static final float NaN = 0.0f / 0.0f [all...] |
StringBuilder.java | 160 * Appends the string representation of the specified {@code float} value. 161 * The {@code float} value is converted to a string according to the rule 162 * defined by {@link String#valueOf(float)}. 165 * the {@code float} value to append. 167 * @see String#valueOf(float) 169 public StringBuilder append(float f) { 170 append0(Float.toString(f)); 446 * Inserts the string representation of the specified {@code float} value at 447 * the specified {@code offset}. The {@code float} value is converted to a 448 * string according to the rule defined by {@link String#valueOf(float)} [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/fadd/ |
Test_fadd.java | 51 * @title Arguments = Float.MAX_VALUE, Float.NaN 55 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 59 * @title Arguments = Float.POSITIVE_INFINITY, 60 * Float.NEGATIVE_INFINITY 64 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 65 Float.NEGATIVE_INFINITY))); 69 * @title Arguments = Float.POSITIVE_INFINITY, 70 * Float.POSITIVE_INFINIT [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/add_float/ |
Test_add_float.java | 50 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally, 51 * so this sum of float and int makes no sense but shall not crash the VM. 63 * @title Arguments = Float.MAX_VALUE, Float.NaN 67 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 71 * @title Arguments = Float.POSITIVE_INFINITY, 72 * Float.NEGATIVE_INFINITY 76 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 77 Float.NEGATIVE_INFINITY))) [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/add_float_2addr/ |
Test_add_float_2addr.java | 50 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally, 51 * so this sum of float and int makes no sense but shall not crash the VM. 63 * @title Arguments = Float.MAX_VALUE, Float.NaN 67 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 71 * @title Arguments = Float.POSITIVE_INFINITY, 72 * Float.NEGATIVE_INFINITY 76 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 77 Float.NEGATIVE_INFINITY))) [all...] |
/frameworks/base/awt/java/awt/geom/ |
Point2D.java | 35 * The Class Float is the subclass of Point2D that has all of its data 36 * values stored with float-level precision. 40 public static class Float extends Point2D { 45 public float x; 50 public float y; 53 * Instantiates a new float-valued Point2D with its data set to zero. 55 public Float() { 59 * Instantiates a new float-valued Point2D with the specified 67 public Float(float x, float y) [all...] |
Ellipse2D.java | 37 * The Class Float is the subclass of Ellipse2D that has all of its data 38 * values stored with float-level precision. 42 public static class Float extends Ellipse2D { 48 public float x; 54 public float y; 59 public float width; 64 public float height; 67 * Instantiates a new float-valued Ellipse2D. 69 public Float() { 73 * Instantiates a new float-valued Ellipse2D with the specified data [all...] |
RoundRectangle2D.java | 37 * The Class Float is the subclass of RoundRectangle2D that has all of its 38 * data values stored with float-level precision. 42 public static class Float extends RoundRectangle2D { 47 public float x; 52 public float y; 57 public float width; 62 public float height; 67 public float arcwidth; 72 public float archeight; 75 * Instantiates a new float-valued RoundRectangle2D with its data-value [all...] |
Line2D.java | 39 * The Class Float is the subclass of Line2D that has all of its data values 40 * stored with float-level precision. 44 public static class Float extends Line2D { 49 public float x1; 54 public float y1; 59 public float x2; 64 public float y2; 67 * Instantiates a new float-valued Line2D with its data values set to 70 public Float() { 74 * Instantiates a new float-valued Line2D with the specified endpoints [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
FieldPacker.java | 112 void addF32(float v) { 113 addI32(Float.floatToRawIntBits(v)); 116 void addF64(float v) {
|
/frameworks/base/tests/CoreTests/android/core/ |
FloatDoubleTest.java | 30 Float f = Float.valueOf(1.0f); 43 float pz = 0.0f; 44 float nz = -0.0f; 46 float pzero = 1.0f / Float.POSITIVE_INFINITY; 47 float nzero = 1.0f / Float.NEGATIVE_INFINITY; 71 assertEquals(Float.valueOf(pz), Float.valueOf(pz)) [all...] |
StrictMathTest.java | 49 * @tests java.lang.StrictMath#abs(float) 53 // Test for method float java.lang.StrictMath.abs(float) 54 assertTrue("Incorrect float abs value", 56 assertTrue("Incorrect float abs value", 441 * @tests java.lang.StrictMath#max(float,float) 445 // Test for method float java.lang.StrictMath.max(float, float) [all...] |
/external/easymock/src/org/easymock/internal/ |
MethodSerializationWrapper.java | 37 primitiveTypes.put(Float.TYPE.getName(), Float.TYPE);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 25 * written include byte, 16-bit short, 32-bit int, 32-bit float, 64-bit long, 228 * Writes a 32-bit float to the target stream. The resulting output is the 229 * four bytes resulting from calling Float.floatToIntBits(). 232 * the float to write to the target stream. 237 public final void writeFloat(float val) throws IOException { 238 writeInt(Float.floatToIntBits(val));
|
/frameworks/base/awt/javax/imageio/stream/ |
ImageOutputStreamImpl.java | 97 public void writeFloat(float v) throws IOException { 98 writeInt(Float.floatToIntBits(v)); 139 public void writeFloats(float[] f, int off, int len) throws IOException {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDeviceHandler.java | 168 mCurrentDevice.setXDpi(Float.parseFloat(mStringAccumulator.toString())); 170 mCurrentDevice.setYDpi(Float.parseFloat(mStringAccumulator.toString()));
|
/hardware/ti/omap3/dspbridge/inc/ |
std.h | 46 *! 14-May-1996 gp: def'd out INT, FLOAT, and COMPLEX defines for WSX. 53 *! 22-Feb-1995 mf: Float is float for _SUN_ and _80_ 232 typedef float Float; 234 typedef double Float;
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
std.h | 46 *! 14-May-1996 gp: def'd out INT, FLOAT, and COMPLEX defines for WSX. 53 *! 22-Feb-1995 mf: Float is float for _SUN_ and _80_ 234 typedef float Float; 236 typedef double Float;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | 43 public static void assertEquals(String message, float expected, float actual, float delta) { 76 * @tests java.lang.Math#abs(float) 82 args = {float.class} 85 // Test for method float java.lang.Math.abs(float) 86 assertTrue("Incorrect float abs value", 88 assertTrue("Incorrect float abs value", 93 assertEquals(Float.POSITIVE_INFINITY, [all...] |
StrictMathTest.java | 206 * @tests java.lang.StrictMath#abs(float) 212 args = {float.class} 215 // Test for method float java.lang.StrictMath.abs(float) 216 assertTrue("Incorrect float abs value", 218 assertTrue("Incorrect float abs value", 223 assertEquals(Float.POSITIVE_INFINITY, StrictMath.abs(Float.POSITIVE_INFINITY)); 224 assertEquals(Float.POSITIVE_INFINITY, StrictMath.abs(Float.NEGATIVE_INFINITY)); [all...] |
/external/gtest/include/gtest/internal/ |
gtest-internal.h | 327 // For float, there are 8 exponent bits and 23 fraction bits. 336 // RawType: the raw floating-point type (either float or double) 482 typedef FloatingPoint<float> Float; [all...] |