Home
last modified time | relevance | path

Searched refs:Float (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DFloatArrayAsListTest.java37 private static List<Float> asList(Float[] values) { in asList()
49 @Override protected List<Float> create(Float[] elements) { in create()
55 @Override protected List<Float> create(Float[] elements) { in create()
56 Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; in create()
57 Float[] all = concat(elements, suffix); in create()
63 @Override protected List<Float> create(Float[] elements) { in create()
64 Float[] prefix = {(float) 86, (float) 99}; in create()
65 Float[] all = concat(prefix, elements); in create()
71 @Override protected List<Float> create(Float[] elements) { in create()
72 Float[] prefix = {Float.MIN_VALUE, Float.MAX_VALUE}; in create()
[all …]
DFloatsTest.java20 import static java.lang.Float.NaN;
46 private static final float LEAST = Float.NEGATIVE_INFINITY;
47 private static final float GREATEST = Float.POSITIVE_INFINITY;
50 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST,
51 Float.MIN_NORMAL, -Float.MIN_NORMAL, Float.MIN_VALUE, -Float.MIN_VALUE,
60 assertEquals(((Float) value).hashCode(), Floats.hashCode(value)); in testHashCode()
66 assertEquals(!(Float.isInfinite(value) || Float.isNaN(value)), Floats.isFinite(value)); in testIsFinite()
75 Float.valueOf(x).compareTo(y), in testCompare()
195 assertTrue(Float.isNaN(Floats.max(VALUES))); in testMax()
216 assertTrue(Float.isNaN(Floats.min(VALUES))); in testMin()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DFloatArrayAsListTest.java45 private static List<Float> asList(Float[] values) { in asList()
55 List<ListTestSuiteBuilder<Float>> builders = in suite()
71 for (ListTestSuiteBuilder<Float> builder : builders) { in suite()
87 @Override protected List<Float> create(Float[] elements) { in create()
93 @Override protected List<Float> create(Float[] elements) { in create()
94 Float[] suffix = {Float.MIN_VALUE, Float.MAX_VALUE}; in create()
95 Float[] all = concat(elements, suffix); in create()
101 @Override protected List<Float> create(Float[] elements) { in create()
102 Float[] prefix = {(float) 86, (float) 99}; in create()
103 Float[] all = concat(prefix, elements); in create()
[all …]
DFloatsTest.java20 import static java.lang.Float.NaN;
51 private static final float LEAST = Float.NEGATIVE_INFINITY;
52 private static final float GREATEST = Float.POSITIVE_INFINITY;
55 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST,
56 Float.MIN_NORMAL, -Float.MIN_NORMAL, Float.MIN_VALUE, -Float.MIN_VALUE,
65 assertEquals(((Float) value).hashCode(), Floats.hashCode(value)); in testHashCode()
71 assertEquals(!(Float.isInfinite(value) || Float.isNaN(value)), Floats.isFinite(value)); in testIsFinite()
80 Float.valueOf(x).compareTo(y), in testCompare()
200 assertTrue(Float.isNaN(Floats.max(VALUES))); in testMax()
221 assertTrue(Float.isNaN(Floats.min(VALUES))); in testMin()
[all …]
/external/deqp/framework/common/
DtcuFloat.hpp48 class Float class
61 Float (void);
62 explicit Float (StorageType value);
63 explicit Float (float v);
64 explicit Float (double v);
67 …static Float convert (const Float<OtherStorageType, OtherExponentBits, OtherMantissaBits, Othe…
69 …static inline Float convert (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias,… in convert()
88 static inline Float construct (int sign, int exponent, StorageType mantissa);
103 static Float constructBits (int sign, int exponent, StorageType mantissaBits);
122 static Float zero (int sign);
[all …]
/external/skia/src/animator/
DSkDisplayMath.cpp99 SK_MEMBER_PROPERTY(E, Float),
100 SK_MEMBER_PROPERTY(LN10, Float),
101 SK_MEMBER_PROPERTY(LN2, Float),
102 SK_MEMBER_PROPERTY(LOG10E, Float),
103 SK_MEMBER_PROPERTY(LOG2E, Float),
104 SK_MEMBER_PROPERTY(PI, Float),
105 SK_MEMBER_PROPERTY(SQRT1_2, Float),
106 SK_MEMBER_PROPERTY(SQRT2, Float),
107 SK_MEMBER_FUNCTION(abs, Float),
108 SK_MEMBER_FUNCTION(acos, Float),
[all …]
DSkPathParts.cpp39 SK_MEMBER(x, Float),
40 SK_MEMBER(y, Float)
77 SK_MEMBER(x, Float),
78 SK_MEMBER(y, Float)
115 SK_MEMBER(x1, Float),
116 SK_MEMBER(x2, Float),
117 SK_MEMBER(y1, Float),
118 SK_MEMBER(y2, Float)
155 SK_MEMBER(x1, Float),
156 SK_MEMBER(x2, Float),
[all …]
DSkDrawRectangle.cpp26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float),
27 SK_MEMBER_PROPERTY(height, Float),
28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
30 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
31 SK_MEMBER_ALIAS(top, fRect.fTop, Float),
32 SK_MEMBER_PROPERTY(width, Float)
118 SK_MEMBER(rx, Float),
119 SK_MEMBER(ry, Float),
DSkDrawMatrix.cpp36 SK_MEMBER_ARRAY(matrix, Float),
37 SK_MEMBER_PROPERTY(perspectX, Float),
38 SK_MEMBER_PROPERTY(perspectY, Float),
39 SK_MEMBER_PROPERTY(rotate, Float),
40 SK_MEMBER_PROPERTY(scale, Float),
41 SK_MEMBER_PROPERTY(scaleX, Float),
42 SK_MEMBER_PROPERTY(scaleY, Float),
43 SK_MEMBER_PROPERTY(skewX, Float),
44 SK_MEMBER_PROPERTY(skewY, Float),
46 SK_MEMBER_PROPERTY(translateX, Float),
[all …]
DSkDisplayNumber.cpp23 SK_MEMBER_PROPERTY(MAX_VALUE, Float),
24 SK_MEMBER_PROPERTY(MIN_VALUE, Float),
25 SK_MEMBER_PROPERTY(NEGATIVE_INFINITY, Float),
26 SK_MEMBER_PROPERTY(NaN, Float),
27 SK_MEMBER_PROPERTY(POSITIVE_INFINITY, Float)
/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java40 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.23f))); in isLikelyFloatTest()
41 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.0f))); in isLikelyFloatTest()
42 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NaN))); in isLikelyFloatTest()
43 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY))); in isLikelyFloatTest()
44 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.POSITIVE_INFINITY))); in isLikelyFloatTest()
45 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1e-30f))); in isLikelyFloatTest()
46 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1000f))); in isLikelyFloatTest()
47 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1f))); in isLikelyFloatTest()
48 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-1f))); in isLikelyFloatTest()
49 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-5f))); in isLikelyFloatTest()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DFloats.java23 import static java.lang.Float.NEGATIVE_INFINITY;
24 import static java.lang.Float.POSITIVE_INFINITY;
63 public static final int BYTES = Float.SIZE / Byte.SIZE;
74 return ((Float) value).hashCode(); in hashCode()
92 return Float.compare(a, b); in compare()
268 extends Converter<String, Float> implements Serializable {
272 protected Float doForward(String value) { in doForward()
273 return Float.valueOf(value); in doForward()
277 protected String doBackward(Float value) { in doBackward()
299 public static Converter<String, Float> stringConverter() { in stringConverter()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DFloats.java23 import static java.lang.Float.NEGATIVE_INFINITY;
24 import static java.lang.Float.POSITIVE_INFINITY;
59 public static final int BYTES = Float.SIZE / Byte.SIZE;
70 return ((Float) value).hashCode(); in hashCode()
88 return Float.compare(a, b); in compare()
264 extends Converter<String, Float> implements Serializable {
268 protected Float doForward(String value) { in doForward()
269 return Float.valueOf(value); in doForward()
273 protected String doBackward(Float value) { in doBackward()
295 public static Converter<String, Float> stringConverter() { in stringConverter()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstFloat.java28 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));
64 Float.intBitsToFloat(bits) + '}'; in toString()
80 return Float.toString(Float.intBitsToFloat(getIntBits())); in toHuman()
89 return Float.intBitsToFloat(getIntBits()); in getValue()
/external/clang/test/Sema/
Dcast.c22 typedef float Float; typedef
35 (void) (Float) v; in testBool()
49 (void) (Float) v; in testInt()
71 (void) (Float) v; in testLong()
81 void testFloat(Float v) { in testFloat()
85 (void) (Float) v; in testFloat()
97 (void) (Float) v; in testDouble()
109 (void) (Float) v; in testCI()
121 (void) (Float) v; in testCLong()
133 (void) (Float) v; in testCFloat()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlotZoomPan.java22 private float minXLimit = Float.MAX_VALUE;
23 private float maxXLimit = Float.MAX_VALUE;
24 private float minYLimit = Float.MAX_VALUE;
25 private float maxYLimit = Float.MAX_VALUE;
26 private float lastMinX = Float.MAX_VALUE;
27 private float lastMaxX = Float.MAX_VALUE;
28 private float lastMinY = Float.MAX_VALUE;
29 private float lastMaxY = Float.MAX_VALUE;
116 if(minXLimit == Float.MAX_VALUE) { in getMinXLimit()
124 if(maxXLimit == Float.MAX_VALUE) { in getMaxXLimit()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DNumberUtils.java37 private static final int canonicalFloatNaN = Float.floatToRawIntBits(Float.NaN);
38 private static final int maxFloat = Float.floatToRawIntBits(Float.MAX_VALUE);
39 private static final int piFloat = Float.floatToRawIntBits((float)Math.PI);
40 private static final int eFloat = Float.floatToRawIntBits((float)Math.E);
74 float floatValue = Float.intBitsToFloat(value); in isLikelyFloat()
75 if (Float.isNaN(floatValue)) { in isLikelyFloat()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DNumberUtils.java21 return Float.floatToIntBits(value); in floatToIntBits()
25 return Float.floatToRawIntBits(value); in floatToRawIntBits()
29 return Float.floatToRawIntBits(value); in floatToIntColor()
35 return Float.intBitsToFloat(value & 0xfeffffff); in intToFloatColor()
39 return Float.intBitsToFloat(value); in intBitsToFloat()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DUBJsonTest.java44 …uw.set("xfloats", new float[] {Float.MIN_VALUE, Float.MAX_VALUE, Float.NaN, Float.NEGATIVE_INFINIT… in create()
83 …uw.set("xfloats", new float[] {Float.MIN_VALUE, Float.MAX_VALUE, Float.NaN, Float.NEGATIVE_INFINIT… in performanceTest()
/external/opencv3/modules/core/misc/java/src/java/
Dcore+MatOfFloat.java62 public void fromList(List<Float> lb) { in fromList()
65 Float ab[] = lb.toArray(new Float[0]); in fromList()
72 public List<Float> toList() { in toList()
74 Float ab[] = new Float[a.length]; in toList()
Dcore+MatOfFloat6.java62 public void fromList(List<Float> lb) { in fromList()
65 Float ab[] = lb.toArray(new Float[0]); in fromList()
72 public List<Float> toList() { in toList()
74 Float ab[] = new Float[a.length]; in toList()
Dcore+MatOfFloat4.java62 public void fromList(List<Float> lb) { in fromList()
65 Float ab[] = lb.toArray(new Float[0]); in fromList()
72 public List<Float> toList() { in toList()
74 Float ab[] = new Float[a.length]; in toList()
/external/valgrind/VEX/priv/
Dhost_generic_maddf.h38 void h_generic_calc_MAddF32 ( /*OUT*/Float*, Float*, Float*, Float* );
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
DVec3.java128 result = prime * result + Float.floatToIntBits(x); in hashCode()
129 result = prime * result + Float.floatToIntBits(y); in hashCode()
130 result = prime * result + Float.floatToIntBits(z); in hashCode()
140 if (Float.floatToIntBits(x) != Float.floatToIntBits(other.x)) return false; in equals()
141 if (Float.floatToIntBits(y) != Float.floatToIntBits(other.y)) return false; in equals()
142 if (Float.floatToIntBits(z) != Float.floatToIntBits(other.z)) return false; in equals()
/external/clang/test/SemaCXX/
Doverload-decl.cpp8 typedef float Float; typedef
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 ov…
27 …int g(int, Float); // expected-error {{functions that differ only in their return type cannot be o…

12345678910>>...23