HomeSort by relevance Sort by last modified time
    Searched refs:Float (Results 1 - 25 of 492) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/lang/
OldFloatTest.java 25 new Float("900.89ff");
33 Float f = new Float(Double.MAX_VALUE);
34 assertTrue("Created incorrect float", f.floatValue() == Float.POSITIVE_INFINITY);
42 Float.parseFloat(incorrectStrings[i]);
52 assertEquals(0x7f800000, Float.floatToIntBits(Float.POSITIVE_INFINITY));
53 assertEquals(0xff800000, Float.floatToIntBits(Float.NEGATIVE_INFINITY))
    [all...]
FloatTest.java 23 assertEquals(2358.166016f, Float.valueOf("2358.166016"));
29 assertEquals(-2.14748365E9f, Float.valueOf(String.valueOf(Integer.MIN_VALUE)));
33 assertEquals(Float.NaN, Float.parseFloat("NaN"));
34 assertEquals(Float.NaN, Float.parseFloat("-NaN"));
35 assertEquals(Float.NaN, Float.parseFloat("+NaN"));
37 Float.parseFloat("NNaN");
42 Float.parseFloat("NaNN")
    [all...]
OldAndroidFloatDoubleTest.java 28 Float f = Float.valueOf(1.0f);
40 float pz = 0.0f;
41 float nz = -0.0f;
43 float pzero = 1.0f / Float.POSITIVE_INFINITY;
44 float nzero = 1.0f / Float.NEGATIVE_INFINITY;
68 assertEquals(Float.valueOf(pz), Float.valueOf(pz))
    [all...]
  /external/clang/test/CodeCompletion/
operator.cpp 8 typedef float Float;
13 // CHECK-CC1: Float
  /libcore/luni/src/main/java/java/awt/font/
TextAttribute.java 83 public static final Float JUSTIFICATION_FULL = new Float(1.0f);
89 public static final Float JUSTIFICATION_NONE = new Float(0.0f);
118 public static final Float POSTURE_REGULAR = new Float(0.0f);
121 public static final Float POSTURE_OBLIQUE = new Float(0.20f);
173 public static final Float TRACKING_LOOSE = 0.04f;
175 public static final Float TRACKING_TIGHT = -0.04f
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
FloatTest.java 90 float result = Float.parseFloat(originalFloatString);
91 rawBits = Float.floatToIntBits(result);
92 assertEquals("Original float(" + originalFloatString + ") Converted float(" + result
98 * @tests java.lang.Float#Float(float)
101 // Test for method java.lang.Float(float)
    [all...]
  /external/clang/test/SemaCXX/
overload-decl.cpp 4 void f(int, float);
8 typedef float Float;
9 void f(int, Float); // expected-note {{previous declaration is here}}
11 int f(int, Float); // expected-error {{functions that differ only in their return type cannot be overloaded}}
26 void g(int, float); // expected-note {{previous declaration is here}}
27 int g(int, Float); // expected-error {{functions that differ only in their return type cannot be overloaded}}
29 static void g(float);
  /external/skia/src/animator/
SkDrawEmboss.cpp 23 SK_MEMBER(ambient, Float),
24 SK_MEMBER_ARRAY(direction, Float),
25 SK_MEMBER(radius, Float),
26 SK_MEMBER(specular, Float)
SkDrawLine.cpp 26 SK_MEMBER(x1, Float),
27 SK_MEMBER(x2, Float),
28 SK_MEMBER(y1, Float),
29 SK_MEMBER(y2, Float)
SkDrawPoint.cpp 26 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
27 SK_MEMBER_ALIAS(y, fPoint.fY, Float)
37 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
38 SK_MEMBER_ALIAS(y, fPoint.fY, Float)
SkDrawDash.cpp 24 SK_MEMBER_ARRAY(intervals, Float),
25 SK_MEMBER(phase, Float)
  /frameworks/base/core/java/android/util/
FloatProperty.java 22 * <code>float</code>. This type-specific subclass enables performance benefit by allowing
23 * calls to a {@link #set(Object, Float) set()} function that takes the primitive
24 * <code>float</code> type and avoids autoboxing and other overhead associated with the
25 * <code>Float</code> class.
31 public abstract class FloatProperty<T> extends Property<T, Float> {
34 super(Float.class, name);
38 * A type-specific override of the {@link #set(Object, Float)} that is faster when dealing
39 * with fields of type <code>float</code>.
41 public abstract void setValue(T object, float value);
44 final public void set(T object, Float value)
    [all...]
  /libcore/luni/src/main/java/java/lang/
Math.java 79 public static native float abs(float f);
514 public static float max(float f1, float f2) {
523 return Float.NaN;
526 /* Float.floatToRawIntBits(0.0f) == 0*/
527 if (Float.floatToRawIntBits(f1) != 0) {
614 public static float min(float f1, float f2)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstFloat.java 28 public static final CstFloat VALUE_0 = make(Float.floatToIntBits(0.0f));
31 public static final CstFloat VALUE_1 = make(Float.floatToIntBits(1.0f));
34 public static final CstFloat VALUE_2 = make(Float.floatToIntBits(2.0f));
40 * @param bits the {@code float} value as {@code int} bits
53 * @param bits the {@code float} value as {@code int} bits
63 return "float{0x" + Hex.u4(bits) + " / " +
64 Float.intBitsToFloat(bits) + '}';
69 return Type.FLOAT;
75 return "float";
80 return Float.toString(Float.intBitsToFloat(getIntBits()))
    [all...]
  /dalvik/dx/src/com/android/dx/rop/cst/
CstFloat.java 28 public static final CstFloat VALUE_0 = make(Float.floatToIntBits(0.0f));
31 public static final CstFloat VALUE_1 = make(Float.floatToIntBits(1.0f));
34 public static final CstFloat VALUE_2 = make(Float.floatToIntBits(2.0f));
40 * @param bits the {@code float} value as {@code int} bits
53 * @param bits the {@code float} value as {@code int} bits
63 return "float{0x" + Hex.u4(bits) + " / " +
64 Float.intBitsToFloat(bits) + '}';
69 return Type.FLOAT;
75 return "float";
80 return Float.toString(Float.intBitsToFloat(getIntBits()))
    [all...]
  /cts/tools/dx-tests/src/dxc/junit/opcodes/fsub/
Test_fsub.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
58 * @title Arguments = Float.POSITIVE_INFINITY,
59 * Float.NEGATIVE_INFINITY
63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY,
64 Float.NEGATIVE_INFINITY))
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/sub_float/
Test_sub_float.java 52 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally,
53 * so this subtraction of float and int makes no sense but shall not crash the VM.
64 * @title Arguments = Float.MAX_VALUE, Float.NaN
68 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
72 * @title Arguments = Float.POSITIVE_INFINITY,
73 * Float.NEGATIVE_INFINITY
77 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/sub_float_2addr/
Test_sub_float_2addr.java 50 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally,
51 * so this subtraction of float and int makes no sense but shall not crash the VM.
62 * @title Arguments = Float.MAX_VALUE, Float.NaN
66 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
70 * @title Arguments = Float.POSITIVE_INFINITY,
71 * Float.NEGATIVE_INFINITY
75 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/
Test_sub_float.java 52 * @title Arguments = Float.MAX_VALUE, Float.NaN
56 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
60 * @title Arguments = Float.POSITIVE_INFINITY,
61 * Float.NEGATIVE_INFINITY
65 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY,
66 Float.NEGATIVE_INFINITY))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/
Test_sub_float_2addr.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
58 * @title Arguments = Float.POSITIVE_INFINITY,
59 * Float.NEGATIVE_INFINITY
63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY,
64 Float.NEGATIVE_INFINITY))
    [all...]
  /cts/tools/dx-tests/src/dxc/junit/opcodes/fdiv/
Test_fdiv.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
58 * @title Arguments = Float.POSITIVE_INFINITY,
59 * Float.NEGATIVE_INFINITY
63 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
64 Float.NEGATIVE_INFINITY))
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/div_float/
Test_div_float.java 50 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally,
51 * so this division of float and int makes no sense but shall not crash the VM.
63 * @title Arguments = Float.MAX_VALUE, Float.NaN
67 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
71 * @title Arguments = Float.POSITIVE_INFINITY,
72 * Float.NEGATIVE_INFINITY
76 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY
    [all...]
  /cts/tools/vm-tests/src/dot/junit/opcodes/div_float_2addr/
Test_div_float_2addr.java 50 * @title Types of arguments - int, float. Dalvik doens't distinguish 32-bits types internally,
51 * so this division of float and int makes no sense but shall not crash the VM.
63 * @title Arguments = Float.MAX_VALUE, Float.NaN
67 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
71 * @title Arguments = Float.POSITIVE_INFINITY,
72 * Float.NEGATIVE_INFINITY
76 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float/
Test_div_float.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
58 * @title Arguments = Float.POSITIVE_INFINITY,
59 * Float.NEGATIVE_INFINITY
63 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
64 Float.NEGATIVE_INFINITY))
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float_2addr/
Test_div_float_2addr.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
58 * @title Arguments = Float.POSITIVE_INFINITY,
59 * Float.NEGATIVE_INFINITY
63 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
64 Float.NEGATIVE_INFINITY))
    [all...]

Completed in 441 milliseconds

1 2 3 4 5 6 7 8 91011>>