HomeSort by relevance Sort by last modified time
    Searched refs:Float (Results 1 - 25 of 903) 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 26 assertEquals(2358.166016f, Float.valueOf("2358.166016"));
32 assertEquals(-2.14748365E9f, Float.valueOf(String.valueOf(Integer.MIN_VALUE)));
36 assertEquals(Float.NaN, Float.parseFloat("NaN"));
37 assertEquals(Float.NaN, Float.parseFloat("-NaN"));
38 assertEquals(Float.NaN, Float.parseFloat("+NaN"));
40 Float.parseFloat("NNaN");
45 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/guava/guava-tests/test/com/google/common/primitives/
FloatArrayAsListTest.java 37 * Test suite covering {@link Floats#asList(float[])})}.
44 private static List<Float> asList(Float[] values) {
45 float[] temp = new float[values.length];
53 List<ListTestSuiteBuilder<Float>> builders =
69 for (ListTestSuiteBuilder<Float> builder : builders) {
85 @Override protected List<Float> create(Float[] elements) {
91 @Override protected List<Float> create(Float[] elements)
    [all...]
  /external/chromium_org/base/
float_util.h 10 #include <float.h>
16 template <typename Float>
17 inline bool IsFinite(const Float& number) {
25 template <typename Float>
26 inline bool IsNaN(const Float& number) {
  /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); // expected-note {{previous declaration is here}}
31 static void g(float); // expected-error {{class member cannot be redeclared}}
  /external/chromium_org/third_party/skia/src/animator/
SkDrawEmboss.cpp 15 SK_MEMBER(fAmbient, Float),
16 SK_MEMBER_ARRAY(fDirection, Float),
17 SK_MEMBER(fSigma, Float),
18 SK_MEMBER(fSpecular, Float)
SkDrawLine.cpp 18 SK_MEMBER(x1, Float),
19 SK_MEMBER(x2, Float),
20 SK_MEMBER(y1, Float),
21 SK_MEMBER(y2, Float)
SkDrawPoint.cpp 18 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
19 SK_MEMBER_ALIAS(y, fPoint.fY, Float)
29 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
30 SK_MEMBER_ALIAS(y, fPoint.fY, Float)
  /external/skia/src/animator/
SkDrawEmboss.cpp 15 SK_MEMBER(fAmbient, Float),
16 SK_MEMBER_ARRAY(fDirection, Float),
17 SK_MEMBER(fSigma, Float),
18 SK_MEMBER(fSpecular, Float)
SkDrawLine.cpp 18 SK_MEMBER(x1, Float),
19 SK_MEMBER(x2, Float),
20 SK_MEMBER(y1, Float),
21 SK_MEMBER(y2, Float)
SkDrawPoint.cpp 18 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
19 SK_MEMBER_ALIAS(y, fPoint.fY, Float)
29 SK_MEMBER_ALIAS(x, fPoint.fX, Float),
30 SK_MEMBER_ALIAS(y, fPoint.fY, 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 72 public static float abs(float f) {
73 return Float.intBitsToFloat(Float.floatToRawIntBits(f) & 0x7fffffff);
483 public static float max(float f1, float f2) {
492 return Float.NaN;
495 /* Float.floatToRawIntBits(0.0f) == 0*/
496 if (Float.floatToRawIntBits(f1) != 0)
    [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...]
  /external/dexmaker/src/dx/java/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...]
  /libcore/luni/src/main/native/
java_lang_Float.cpp 17 #define LOG_TAG "Float"
26 union Float {
28 float f;
34 Float f;
41 Float f;
47 Float f;
53 NATIVE_METHOD(Float, floatToIntBits, "(F)I"),
54 NATIVE_METHOD(Float, floatToRawIntBits, "(F)I"),
55 NATIVE_METHOD(Float, intBitsToFloat, "(I)F"),
58 return jniRegisterNativeMethods(env, "java/lang/Float", gMethods, NELEM(gMethods))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLFloatProperty.java 19 /** Properties that hold float values. */
21 private final Float mDefaultValue;
22 private Float mCurrentValue;
24 public GLFloatProperty(GLStateType name, Float defaultValue) {
35 public void setValue(Float newValue) {
41 if (value instanceof Float) {
42 mCurrentValue = (Float) value;
44 throw new IllegalArgumentException("Attempt to set non float value for "
  /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/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...]

Completed in 734 milliseconds

1 2 3 4 5 6 7 8 91011>>