Searched refs:infinity (Results 76 - 100 of 175) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashTraits.h118 static T emptyValue() { return std::numeric_limits<T>::infinity(); }
119 static void constructDeletedValue(T& slot, bool) { slot = -std::numeric_limits<T>::infinity(); }
120 static bool isDeletedValue(T value) { return value == -std::numeric_limits<T>::infinity(); }
H A DMathExtras.h142 // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values.
145 double posInf = std::numeric_limits<double>::infinity();
146 double negInf = -std::numeric_limits<double>::infinity();
165 // Work around a bug in the Microsoft CRT, where fmod(x, +-infinity) yields NaN instead of x.
/external/chromium_org/third_party/libxml/src/
H A Dtrionan.c19 * (that is, NaNs and infinity). They provide the capability to detect
158 /* Bit-pattern for infinity */
253 Generate positive infinity.
255 @return Floating-point representation of positive infinity.
274 * as infinity. Otherwise we have to resort to an overflow
275 * operation to generate infinity.
297 Generate negative infinity.
299 @return Floating-point value of negative infinity.
308 * Negative infinity is calculated by negating positive infinity,
[all...]
/external/libxml2/
H A Dtrionan.c19 * (that is, NaNs and infinity). They provide the capability to detect
158 /* Bit-pattern for infinity */
253 Generate positive infinity.
255 @return Floating-point representation of positive infinity.
274 * as infinity. Otherwise we have to resort to an overflow
275 * operation to generate infinity.
297 Generate negative infinity.
299 @return Floating-point value of negative infinity.
308 * Negative infinity is calculated by negating positive infinity,
[all...]
/external/chromium_org/cc/resources/
H A Dtile_priority.h49 distance_to_visible(std::numeric_limits<float>::infinity()) {}
/external/chromium_org/content/browser/battery_status/
H A Dbattery_status_manager_chromeos.cc123 // Set |chargingTime| to +infinity if the battery is discharging, or if
127 status.chargingTime = std::numeric_limits<double>::infinity();
131 // Keep the default value for |dischargingTime| (which is +infinity) if
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimal.h142 // Note: toString method supports infinity and nan but fromString not.
152 // Note: fromString doesn't support "infinity" and "nan".
154 static Decimal infinity(Sign);
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Ds_expression.cpp72 expr = new(ctx) s_float(std::numeric_limits<float>::infinity());
/external/chromium_org/v8/test/cctest/
H A Dtest-code-stubs.cc96 #define Infinity (std::numeric_limits<double>::infinity())
/external/mesa3d/src/glsl/
H A Ds_expression.cpp72 expr = new(ctx) s_float(std::numeric_limits<float>::infinity());
/external/stlport/src/
H A Dnum_get_float.cpp465 return limits::infinity();
572 return limits::infinity();
727 x = limits::infinity();
831 x = limits::infinity();
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DRangeInputType.cpp384 const Decimal closestLeft = middle ? m_tickMarkValues[middle - 1] : Decimal::infinity(Decimal::Negative);
385 const Decimal closestRight = middle != m_tickMarkValues.size() ? m_tickMarkValues[middle] : Decimal::infinity(Decimal::Positive);
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
H A DAndroid.mk135 test_name := language.support/support.limits/limits/numeric.limits.members/infinity
136 test_src := infinity.pass.cpp
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dtext_format_unittest.cc524 message.add_repeated_double(std::numeric_limits<double>::infinity());
525 message.add_repeated_double(-std::numeric_limits<double>::infinity());
709 EXPECT_EQ(message.repeated_double(7), numeric_limits<double>::infinity());
710 EXPECT_EQ(message.repeated_double(8), numeric_limits<double>::infinity());
711 EXPECT_EQ(message.repeated_double(9), -numeric_limits<double>::infinity());
712 EXPECT_EQ(message.repeated_double(10), -numeric_limits<double>::infinity());
/external/protobuf/src/google/protobuf/
H A Dtext_format_unittest.cc462 message.add_repeated_double(std::numeric_limits<double>::infinity());
463 message.add_repeated_double(-std::numeric_limits<double>::infinity());
647 EXPECT_EQ(message.repeated_double(7), numeric_limits<double>::infinity());
648 EXPECT_EQ(message.repeated_double(8), numeric_limits<double>::infinity());
649 EXPECT_EQ(message.repeated_double(9), -numeric_limits<double>::infinity());
650 EXPECT_EQ(message.repeated_double(10), -numeric_limits<double>::infinity());
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationTest.cpp354 double inf = std::numeric_limits<double>::infinity();
387 double inf = std::numeric_limits<double>::infinity();
420 double inf = std::numeric_limits<double>::infinity();
/external/chromium_org/ui/gfx/geometry/
H A Drect_unittest.cc794 float infinity = std::numeric_limits<float>::infinity(); local
813 EXPECT_FALSE(RectF(infinity, 0, 1, 1).IsExpressibleAsRect());
814 EXPECT_FALSE(RectF(0, infinity, 1, 1).IsExpressibleAsRect());
815 EXPECT_FALSE(RectF(0, 0, infinity, 1).IsExpressibleAsRect());
816 EXPECT_FALSE(RectF(0, 0, 1, infinity).IsExpressibleAsRect());
/external/chromium_org/base/time/
H A Dtime.h539 if (secs == std::numeric_limits<double>::infinity())
547 if (ms == std::numeric_limits<double>::infinity())
/external/chromium_org/mojo/apps/js/test/
H A Djs_to_cpp_unittest.cc46 const double kExpectedDoubleInf = std::numeric_limits<double>::infinity();
49 const float kExpectedFloatInf = std::numeric_limits<float>::infinity();
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DSourceBuffer.cpp91 , m_appendWindowEnd(std::numeric_limits<double>::infinity())
323 setAppendWindowEnd(std::numeric_limits<double>::infinity(), exceptionState);
/external/chromium_org/testing/gtest/test/
H A Dgtest_unittest.cc2666 RawType infinity; member in struct:__anon10886::FloatingPointTest::TestValues
2699 // +infinity.
2700 values_.infinity = Floating::Infinity();
2702 // The bits that represent +infinity.
2703 const Bits infinity_bits = Floating(values_.infinity).bits();
2705 // Makes some numbers close to infinity.
2785 // Tests comparing with infinity.
2790 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity);
2791 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity);
2793 // Nokia's STLport crashes if we try to output infinity o
[all...]
/external/gtest/test/
H A Dgtest_unittest.cc2673 RawType infinity; member in struct:__anon21618::FloatingPointTest::TestValues
2706 // +infinity.
2707 values_.infinity = Floating::Infinity();
2709 // The bits that represent +infinity.
2710 const Bits infinity_bits = Floating(values_.infinity).bits();
2712 // Makes some numbers close to infinity.
2792 // Tests comparing with infinity.
2797 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity);
2798 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity);
2800 // Nokia's STLport crashes if we try to output infinity o
[all...]
/external/protobuf/gtest/test/
H A Dgtest_unittest.cc2955 RawType infinity; member in struct:__anon28922::FloatingPointTest::TestValues
2988 // +infinity.
2989 values_.infinity = Floating::Infinity();
2991 // The bits that represent +infinity.
2992 const Bits infinity_bits = Floating(values_.infinity).bits();
2994 // Makes some numbers close to infinity.
3071 // Tests comparing with infinity.
3076 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity);
3077 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity);
3079 // Nokia's STLport crashes if we try to output infinity o
[all...]
/external/chromium_org/content/browser/device_sensors/
H A Ddevice_inertial_sensor_browsertest.cc70 : std::numeric_limits<double>::infinity());
273 // one-off infinity event still propagates to window after the alert is
H A Dsensor_manager_android.cc192 SetLightBufferValue(std::numeric_limits<double>::infinity());

Completed in 378 milliseconds

1234567