Searched refs:infinity (Results 1 - 25 of 175) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/public/platform/
H A DWebBatteryStatus.h17 , dischargingTime(std::numeric_limits<double>::infinity())
/external/chromium_org/ui/gfx/geometry/
H A Dsafe_integer_conversions_unittest.cc18 float infinity = std::numeric_limits<float>::infinity(); local
23 EXPECT_EQ(int_max, ClampToInt(infinity));
31 EXPECT_EQ(int_min, ClampToInt(-infinity));
41 float infinity = std::numeric_limits<float>::infinity(); local
46 EXPECT_EQ(int_max, ToFlooredInt(infinity));
54 EXPECT_EQ(int_min, ToFlooredInt(-infinity));
64 float infinity = std::numeric_limits<float>::infinity(); local
87 float infinity = std::numeric_limits<float>::infinity(); local
[all...]
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
H A Dinfinity.pass.cpp12 // infinity()
22 assert(std::numeric_limits<T>::infinity() == expected);
23 assert(std::numeric_limits<const T>::infinity() == expected);
24 assert(std::numeric_limits<volatile T>::infinity() == expected);
25 assert(std::numeric_limits<const volatile T>::infinity() == expected);
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
H A Dmax.pass.cpp26 assert(m == std::numeric_limits<D::result_type>::infinity());
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_util.cc44 return std::numeric_limits<double>::infinity();
/external/chromium_org/content/browser/battery_status/
H A Dbattery_status_manager_linux_unittest.cc34 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
35 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
49 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
64 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
78 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
93 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
94 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
108 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
109 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
123 EXPECT_EQ(std::numeric_limits<double>::infinity(), statu
[all...]
H A Dbattery_status_manager_win_unittest.cc21 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
34 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
35 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
47 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
48 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
61 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
73 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.chargingTime);
74 EXPECT_EQ(std::numeric_limits<double>::infinity(), status.dischargingTime);
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dgenerated_message_util.cc44 return std::numeric_limits<double>::infinity();
/external/compiler-rt/lib/builtins/
H A Dfp_add_impl.inc23 // Detect if a or b is zero, infinity, or NaN.
32 // +/-infinity + -/+infinity = qNaN
34 // +/-infinity + anything remaining = +/- infinity
38 // anything remaining + +/-infinity = +/-infinity
117 // If we have overflowed the type, return +/- infinity:
139 // Final rounding. The result may overflow to infinity, but that is the
H A Dfp_mul_impl.inc26 // Detect if a or b is zero, denormal, infinity, or NaN.
38 // infinity * non-zero = +/- infinity
40 // infinity * zero = NaN
45 //? non-zero * infinity = +/- infinity
47 // zero * infinity = NaN
84 // If we have overflowed the type, return +/- infinity.
110 // Final rounding. The final result may overflow to infinity, or underflow
/external/ceres-solver/include/ceres/
H A Dfpclassify.h68 return x == std::numeric_limits<double>::infinity() ||
69 x == -std::numeric_limits<double>::infinity();
/external/chromium_org/third_party/WebKit/Source/modules/battery/
H A DBatteryStatus.cpp25 , m_dischargingTime(std::numeric_limits<double>::infinity())
/external/chromium_org/third_party/WebKit/Source/modules/device_light/
H A DDeviceLightEvent.cpp15 : m_value(std::numeric_limits<double>::infinity())
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DTimingCalculationsTest.cpp96 EXPECT_EQ(0, calculateScaledActiveTime(std::numeric_limits<double>::infinity(), std::numeric_limits<double>::infinity(), 0, timing));
98 EXPECT_EQ(std::numeric_limits<double>::infinity(), calculateScaledActiveTime(std::numeric_limits<double>::infinity(), std::numeric_limits<double>::infinity(), 0, timing));
205 // Timing function when iterationDuration is infinity
207 EXPECT_EQ(0, calculateTransformedTime(0, std::numeric_limits<double>::infinity(), 0, timing));
208 EXPECT_EQ(1, calculateTransformedTime(0, std::numeric_limits<double>::infinity(), 1, timing));
210 EXPECT_EQ(std::numeric_limits<double>::infinity(), calculateTransformedTime(0, std::numeric_limits<double>::infinity(),
[all...]
H A DInertAnimation.cpp63 return std::numeric_limits<double>::infinity();
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimalTest.cpp159 EXPECT_EQ(Decimal::infinity(Positive), Decimal::infinity(Positive).abs());
160 EXPECT_EQ(Decimal::infinity(Positive), Decimal::infinity(Negative).abs());
183 EXPECT_EQ(Decimal::infinity(Positive), encode(std::numeric_limits<uint64_t>::max(), 1022, Positive) + encode(1, 0, Positive));
195 const Decimal Infinity(Decimal::infinity(Positive));
196 const Decimal MinusInfinity(Decimal::infinity(Negative));
261 EXPECT_EQ(Decimal::infinity(Positive), Decimal::infinity(Positive).ceiling());
262 EXPECT_EQ(Decimal::infinity(Negativ
[all...]
/external/chromium_org/media/audio/
H A Daudio_power_monitor.h61 static float zero_power() { return -std::numeric_limits<float>::infinity(); }
/external/stlport/test/unit/
H A Dlimits_test.cpp169 const _Tp infinity = lim::infinity(); local
178 CHECK_COND(test_float_values(val, infinity));
182 str << "lim::max() = " << lim::max() << ", val = " << val << ", infinity = " << infinity;
190 str << ", infinity in hexa: " << showbase << hex << *((const unsigned int*)&infinity);
196 str << ", infinity in hexa: " << showbase << hex << *((const unsigned _STLP_LONG_LONG*)&infinity);
206 str << ", infinity
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECAlgorithms.java99 ECPoint infinity = curve.getInfinity();
110 points[0].negate(), infinity, points[0],
115 ECPoint R = infinity;
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLSrcsetParserTest.cpp90 {1.0, 0, "", "400.gif 400w, 6000.gif 6000w", "400.gif", std::numeric_limits<float>::infinity(), 400},
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioDSPKernelProcessor.cpp143 return std::numeric_limits<double>::infinity();
156 return std::numeric_limits<double>::infinity();
/external/chromium_org/base/time/
H A Dtime.cc51 return std::numeric_limits<double>::infinity();
67 return std::numeric_limits<double>::infinity();
132 if (dt == std::numeric_limits<double>::infinity())
144 return std::numeric_limits<double>::infinity();
163 if (ms_since_epoch == std::numeric_limits<double>::infinity())
176 return std::numeric_limits<double>::infinity();
/external/chromium_org/content/renderer/java/
H A Dgin_java_bridge_value_converter_unittest.cc59 v8::Number::New(isolate_, std::numeric_limits<double>::infinity()));
60 scoped_ptr<base::Value> infinity(
62 ASSERT_TRUE(infinity.get());
64 GinJavaBridgeValue::ContainsGinJavaBridgeValue(infinity.get()));
66 GinJavaBridgeValue::FromValue(infinity.get()));
/external/bison/src/
H A Drelation.c58 static relation_node infinity; variable
86 INDEX[j] = infinity;
101 infinity = size + 2;
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
H A DSMILTime.h41 static SMILTime indefinite() { return std::numeric_limits<double>::infinity(); }
127 static void constructDeletedValue(blink::SMILTime& slot, bool) { slot = -std::numeric_limits<double>::infinity(); }
128 static bool isDeletedValue(blink::SMILTime value) { return value == -std::numeric_limits<double>::infinity(); }

Completed in 706 milliseconds

1234567