fromDouble 69 Source/core/html/forms/BaseDateAndTimeInputType.cpp setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState); fromDouble 98 Source/core/html/forms/BaseDateAndTimeInputType.cpp return Decimal::fromDouble(ms + (offset * msPerMinute)); fromDouble 113 Source/core/html/forms/BaseDateAndTimeInputType.cpp return Decimal::fromDouble(msec); fromDouble 150 Source/core/html/forms/BaseDateAndTimeInputType.cpp return serialize(Decimal::fromDouble(value)); fromDouble 75 Source/core/html/forms/DateInputType.cpp return InputType::createStepRange(anyStepHandling, dateDefaultStepBase, Decimal::fromDouble(DateComponents::minimumDate()), Decimal::fromDouble(DateComponents::maximumDate()), stepDescription); fromDouble 84 Source/core/html/forms/DateTimeLocalInputType.cpp return InputType::createStepRange(anyStepHandling, dateTimeLocalDefaultStepBase, Decimal::fromDouble(DateComponents::minimumDateTime()), Decimal::fromDouble(DateComponents::maximumDateTime()), stepDescription); fromDouble 99 Source/core/html/forms/MonthInputType.cpp return Decimal::fromDouble(months); fromDouble 106 Source/core/html/forms/MonthInputType.cpp return InputType::createStepRange(anyStepHandling, Decimal::fromDouble(monthDefaultStepBase), Decimal::fromDouble(DateComponents::minimumMonth()), Decimal::fromDouble(DateComponents::maximumMonth()), stepDescription); fromDouble 116 Source/core/html/forms/MonthInputType.cpp return Decimal::fromDouble(months); fromDouble 148 Source/core/html/forms/NumberInputType.cpp const Decimal doubleMax = Decimal::fromDouble(numeric_limits<double>::max()); fromDouble 110 Source/core/html/forms/RangeInputType.cpp setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState); fromDouble 86 Source/core/html/forms/TimeInputType.cpp return Decimal::fromDouble(milliseconds); fromDouble 93 Source/core/html/forms/TimeInputType.cpp return InputType::createStepRange(anyStepHandling, timeDefaultStepBase, Decimal::fromDouble(DateComponents::minimumTime()), Decimal::fromDouble(DateComponents::maximumTime()), stepDescription); fromDouble 70 Source/core/html/forms/WeekInputType.cpp return InputType::createStepRange(anyStepHandling, weekDefaultStepBase, Decimal::fromDouble(DateComponents::minimumWeek()), Decimal::fromDouble(DateComponents::maximumWeek()), stepDescription); fromDouble 109 Source/core/html/parser/HTMLParserIdioms.cpp const Decimal doubleMax = Decimal::fromDouble(std::numeric_limits<double>::max()); fromDouble 282 Source/core/html/shadow/SliderThumbElement.cpp const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); fromDouble 145 Source/platform/Decimal.h static Decimal fromDouble(double); fromDouble 610 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(0, 0, Positive), Decimal::fromDouble(0.0)); fromDouble 611 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(0, 0, Negative), Decimal::fromDouble(-0.0)); fromDouble 612 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, 0, Positive), Decimal::fromDouble(1)); fromDouble 613 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, 0, Negative), Decimal::fromDouble(-1)); fromDouble 614 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(123, 0, Positive), Decimal::fromDouble(123)); fromDouble 615 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(123, 0, Negative), Decimal::fromDouble(-123)); fromDouble 616 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, -1, Positive), Decimal::fromDouble(0.1)); fromDouble 617 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, -1, Negative), Decimal::fromDouble(-0.1)); fromDouble 622 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(2220446049250313), -31, Positive), Decimal::fromDouble(std::numeric_limits<double>::epsilon())); fromDouble 623 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(2220446049250313), -31, Negative), Decimal::fromDouble(-std::numeric_limits<double>::epsilon())); fromDouble 624 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(17976931348623157), 292, Positive), Decimal::fromDouble(std::numeric_limits<double>::max())); fromDouble 625 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(17976931348623157), 292, Negative), Decimal::fromDouble(-std::numeric_limits<double>::max())); fromDouble 626 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(22250738585072014), -324, Positive), Decimal::fromDouble(std::numeric_limits<double>::min())); fromDouble 627 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(UINT64_C(22250738585072014), -324, Negative), Decimal::fromDouble(-std::numeric_limits<double>::min())); fromDouble 628 Source/platform/DecimalTest.cpp EXPECT_TRUE(Decimal::fromDouble(std::numeric_limits<double>::infinity()).isInfinity()); fromDouble 629 Source/platform/DecimalTest.cpp EXPECT_TRUE(Decimal::fromDouble(-std::numeric_limits<double>::infinity()).isInfinity()); fromDouble 630 Source/platform/DecimalTest.cpp EXPECT_TRUE(Decimal::fromDouble(std::numeric_limits<double>::quiet_NaN()).isNaN()); fromDouble 631 Source/platform/DecimalTest.cpp EXPECT_TRUE(Decimal::fromDouble(-std::numeric_limits<double>::quiet_NaN()).isNaN());