HomeSort by relevance Sort by last modified time
    Searched refs:NaN (Results 26 - 50 of 410) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/compile/libbcc/runtime/test/Unit/
mulxc3_test.c 26 enum {zero, non_zero, inf, NaN, non_zero_nan};
36 return NaN;
40 return NaN;
46 return NaN;
79 if (classify(r) != NaN)
82 case NaN:
83 if (classify(r) != NaN)
87 if (classify(r) != NaN)
109 case NaN:
110 if (classify(r) != NaN)
    [all...]
  /external/protobuf/src/google/protobuf/
generated_message_util.cc 46 double NaN() {
generated_message_util.h 70 LIBPROTOBUF_EXPORT double NaN();
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/
charCodeAt.js 44 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-2)", NaN, aString.charCodeAt(-2));
45 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-1)", NaN, aString.charCodeAt(-1));
50 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 4)", NaN, aString.charCodeAt( 4));
51 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 5)", NaN, aString.charCodeAt( 5));
52 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( Infinity)", NaN, aString.charCodeAt( Infinity));
53 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-Infinity)", NaN, aString.charCodeAt(-Infinity));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.5.1.js 36 If either operand is NaN, the result is NaN.
39 Multiplication of an infinity by a zero results in NaN.
44 In the remaining cases, where neither an infinity or NaN is involved, the
80 array[item++] = new TestCase( SECTION, "Number.NaN * Number.NaN", Number.NaN, Number.NaN * Number.NaN );
81 array[item++] = new TestCase( SECTION, "Number.NaN * 1", Number.NaN, Number.NaN * 1 )
    [all...]
11.13.2-2.js 58 // NaN cases
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2; VAR1") );
62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 /= VAR2") )
    [all...]
11.5.2.js 33 If either operand is NaN, the result is NaN.
36 Division of an infinity by an infinity results in NaN.
41 Division of a zero by a zero results in NaN; division of zero by any other finite value results in zero, with the sign
45 In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved, the quotient is computed and
80 // if either operand is NaN, the result is NaN.
82 array[item++] = new TestCase( SECTION, "Number.NaN / Number.NaN", Number.NaN, Number.NaN / Number.NaN )
    [all...]
11.13.2-4.js 58 // If either operand is NaN, result is NaN
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2; VAR1") );
62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 += VAR2") )
    [all...]
11.13.2-5.js 58 // If either operand is NaN, result is NaN
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2; VAR1") );
62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 -= VAR2") )
    [all...]
11.2.1-2.js 79 PROPERTY[p++] = new Property( "\"hi\"", "hi", "hi", NaN );
80 PROPERTY[p++] = new Property( NaN, NaN, "NaN", NaN );
11.13.2-1.js 58 // NaN cases
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2; VAR1") );
71 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = 0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") );
72 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") );
73 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.NEGATIVE_INFINITY; VAR1 *= VAR2; VAR1") )
    [all...]
  /external/skia/src/animator/
SkDisplayNumber.cpp 24 SK_PROPERTY(NaN),
34 SK_MEMBER_PROPERTY(NaN, Float),
54 case SK_PROPERTY(NaN):
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.4.3.js 64 d.year = Number.NaN;
65 d.month = Number.NaN;
66 d.date = Number.NaN;
67 d.hours = Number.NaN;
68 d.minutes = Number.NaN;
69 d.seconds = Number.NaN;
70 d.ms = Number.NaN;
71 d.value = Number.NaN;
72 d.time = Number.NaN;
73 d.day =Number.NaN;
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
DateMath.cpp 116 #define NaN std::numeric_limits<double>::quiet_NaN()
384 ASSERT((year >= minYear && year <= maxYear) || (product - year == static_cast<int>(NaN)));
584 return NaN;
586 return NaN;
591 return NaN;
593 return NaN;
595 return NaN;
600 return NaN;
602 return NaN;
604 return NaN;
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.16.js 47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() );
49 array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(void 0) );
53 array[item++] = new TestCase( SECTION, "Math.sin(NaN)", Number.NaN, Math.sin(Number.NaN) );
56 array[item++] = new TestCase( SECTION, "Math.sin(Infinity)", Number.NaN, Math.sin(Number.POSITIVE_INFINITY));
57 array[item++] = new TestCase( SECTION, "Math.sin(-Infinity)", Number.NaN, Math.sin(Number.NEGATIVE_INFINITY));
15.8.2.10.js 28 - if arg is NaN result is NaN
29 - if arg is <0 result is NaN
54 array[item++] = new TestCase( SECTION, "Math.log()", Number.NaN, Math.log() );
55 array[item++] = new TestCase( SECTION, "Math.log(void 0)", Number.NaN, Math.log(void 0) );
63 array[item++] = new TestCase( SECTION, "Math.log(NaN)", Number.NaN, Math.log(Number.NaN) );
64 array[item++] = new TestCase( SECTION, "Math.log(-0.0000001)", Number.NaN, Math.log(-0.000001) );
65 array[item++] = new TestCase( SECTION, "Math.log(-1)", Number.NaN, Math.log(-1) )
    [all...]
15.8.2.2.js 28 - if x is NaN, return NaN
29 - if x > 1, the result is NaN
30 - if x < -1, the result is NaN
51 array[item++] = new TestCase( SECTION, "Math.acos(void 0)", Number.NaN, Math.acos(void 0) );
52 array[item++] = new TestCase( SECTION, "Math.acos()", Number.NaN, Math.acos() );
54 array[item++] = new TestCase( SECTION, "Math.acos(NaN)", Number.NaN, Math.acos(Number.NaN) );
56 array[item++] = new TestCase( SECTION, "Math.acos(a string)", Number.NaN, Math.acos("a string") )
    [all...]
15.8.2.3.js 28 - if x is NaN, the result is NaN
29 - if x > 1, the result is NaN
30 - if x < -1, the result is NaN
51 array[item++] = new TestCase( SECTION, "Math.asin()", Number.NaN, Math.asin() );
52 array[item++] = new TestCase( SECTION, "Math.asin(void 0)", Number.NaN, Math.asin(void 0) );
54 array[item++] = new TestCase( SECTION, "Math.asin(NaN)", Number.NaN, Math.asin(Number.NaN) );
56 array[item++] = new TestCase( SECTION, "Math.asin('string')", Number.NaN, Math.asin("string") )
    [all...]
15.8.2.13.js 48 array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, Math.pow() );
50 array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, Math.pow(void 0, void 0));
55 array[item++] = new TestCase( SECTION, "Math.pow(1,NaN)", Number.NaN, Math.pow(1,Number.NaN) );
56 array[item++] = new TestCase( SECTION, "Math.pow(0,NaN)", Number.NaN, Math.pow(0,Number.NaN) );
57 array[item++] = new TestCase( SECTION, "Math.pow(NaN,0)", 1, Math.pow(Number.NaN,0) )
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldFloatTest.java 54 assertEquals(0x7fc00000, Float.floatToIntBits(Float.NaN));
60 assertEquals(0x7fc00000, Float.floatToRawIntBits(Float.NaN));
71 assertEquals(Float.NaN, Float.intBitsToFloat(0x7f800001));
72 assertEquals(Float.NaN, Float.intBitsToFloat(0x7fffffff));
73 assertEquals(Float.NaN, Float.intBitsToFloat(0xff800001));
74 assertEquals(Float.NaN, Float.intBitsToFloat(0xffffffff));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.5-5.js 28 at that position, the number is NaN.
37 Result(3), return NaN.
77 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") );
78 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") );
83 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=new String();x.charCodeAt(0)") );
84 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(1)", Number.NaN, eval("x=new String();x.charCodeAt(1)") );
85 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(-1)", Number.NaN, eval("x=new String();x.charCodeAt(-1)") );
87 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(NaN)", Number.NaN, eval("x=new String();x.charCodeAt(Number.NaN)") );
    [all...]
15.5.4.5-2.js 28 at that position, the number is NaN.
37 Result(3), return NaN.
75 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") );
76 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") );
81 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=new String();x.charCodeAt(0)") );
82 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(1)", Number.NaN, eval("x=new String();x.charCodeAt(1)") );
83 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(-1)", Number.NaN, eval("x=new String();x.charCodeAt(-1)") );
85 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(NaN)", Number.NaN, eval("x=new String();x.charCodeAt(Number.NaN)") );
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
DateInstanceCache.h 36 extern const double NaN;
49 : m_gregorianDateTimeCachedForMS(NaN)
50 , m_gregorianDateTimeUTCCachedForMS(NaN)
65 m_cache[i].key = NaN;
  /cts/tools/dx-tests/src/dxc/junit/opcodes/drem/
Test_drem.java 50 * @title Arguments = Double.MAX_VALUE, Double.NaN
54 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN));
63 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY,
72 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, -2.7d));
88 assertEquals(Double.NaN, t.run(0, 0));
104 assertEquals(Double.NaN, t.run(-2.7d, 0));
  /cts/tools/dx-tests/src/dxc/junit/opcodes/frem/
Test_frem.java 50 * @title Arguments = Float.MAX_VALUE, Float.NaN
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN));
63 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
72 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, -2.7f));
88 assertEquals(Float.NaN, t.run(0, 0));
104 assertEquals(Float.NaN, t.run(-2.7f, 0));

Completed in 6473 milliseconds

12 3 4 5 6 7 8 91011>>