Home
last modified time | relevance | path

Searched refs:negInf (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtrasTest.cpp183 double negInf = -std::numeric_limits<double>::infinity(); in TEST() local
187 EXPECT_EQ(3.0 * M_PI_4, atan2(posInf, negInf)); in TEST()
188 EXPECT_EQ(-M_PI_4, atan2(negInf, posInf)); in TEST()
189 EXPECT_EQ(-3.0 * M_PI_4, atan2(negInf, negInf)); in TEST()
194 EXPECT_EQ(0.0, fmod(0.0, negInf)); in TEST()
195 EXPECT_EQ(7.0, fmod(7.0, negInf)); in TEST()
196 EXPECT_EQ(-7.0, fmod(-7.0, negInf)); in TEST()
DMathExtras.h146 double negInf = -std::numeric_limits<double>::infinity(); in wtf_atan2() local
153 else if (x == posInf && y == negInf) in wtf_atan2()
155 else if (x == negInf && y == posInf) in wtf_atan2()
157 else if (x == negInf && y == negInf) in wtf_atan2()
/external/chromium_org/third_party/WebKit/Source/core/html/
DTimeRanges.cpp69 double negInf = -std::numeric_limits<double>::infinity(); in invert() local
72 inverted->add(negInf, posInf); in invert()
75 if (start != negInf) in invert()
76 inverted->add(negInf, start); in invert()
/external/chromium_org/v8/test/webkit/fast/js/
Dnumber-toprecision.js34 var negInf = -1/0; variable
Dnumber-tofixed.js60 var negInf = -1/0; variable
Dnumber-toString.js25 var negInf = -1/0; variable
Dnumber-toprecision-expected.txt53 PASS (1234.567).toPrecision(negInf) threw exception RangeError: toPrecision() argument must be betw…
56 PASS negInf.toPrecision() is "-Infinity"
Dnumber-tofixed-expected.txt77 PASS (1234.567).toFixed(negInf) threw exception RangeError: toFixed() digits argument must be betwe…
79 PASS negInf.toFixed() is "-Infinity"
Dnumber-toString-expected.txt76 PASS (1234.567).toString(negInf) threw exception RangeError: toString() radix argument must be betw…
78 PASS negInf.toString() is "-Infinity"
/external/chromium_org/v8/test/webkit/
Dnumber-toExponential.js25 var negInf = -1/0; variable
Dnumber-toExponential-expected.txt48 PASS (1234.567).toExponential(negInf) threw exception RangeError: toExponential() argument must be …
50 PASS negInf.toExponential() is "-Infinity"
/external/valgrind/main/VEX/priv/
Dguest_generic_x87.c447 const ULong negInf = 0xFFF0000000000000ULL; in x86amd64g_calculate_FXTRACT() local
459 if (arg == negInf) in x86amd64g_calculate_FXTRACT()
460 return getExp ? posInf : negInf; in x86amd64g_calculate_FXTRACT()
464 return getExp ? negInf : posZero; in x86amd64g_calculate_FXTRACT()
466 return getExp ? negInf : negZero; in x86amd64g_calculate_FXTRACT()
/external/skia/tests/
DPathTest.cpp640 const SkScalar negInf = SK_ScalarNegativeInfinity; in test_rect_isfinite() local
646 r.set(0, 0, inf, negInf); in test_rect_isfinite()
674 const SkScalar negInf = SK_ScalarNegativeInfinity; in test_path_isfinite() local
688 path.moveTo(inf, negInf); in test_path_isfinite()
/external/chromium_org/third_party/skia/tests/
DPathTest.cpp640 const SkScalar negInf = SK_ScalarNegativeInfinity; in test_rect_isfinite() local
646 r.set(0, 0, inf, negInf); in test_rect_isfinite()
674 const SkScalar negInf = SK_ScalarNegativeInfinity; in test_path_isfinite() local
688 path.moveTo(inf, negInf); in test_path_isfinite()