EXPECT_DECIMAL_STREQ 888 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("10", stepDown("0", "100", "10", "19", 1)); EXPECT_DECIMAL_STREQ 889 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("90", stepUp("0", "99", "10", "89", 1)); EXPECT_DECIMAL_STREQ 890 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1", stepUp("0", "1", "0.33333333333333333", "0", 3)); // step=1/3 EXPECT_DECIMAL_STREQ 891 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("0.01", stepUp("0", "0.01", "0.0033333333333333333", "0", 3)); // step=1/300 EXPECT_DECIMAL_STREQ 892 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1", stepUp("0", "1", "0.003921568627450980", "0", 255)); // step=1/255 EXPECT_DECIMAL_STREQ 893 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1", stepUp("0", "1", "0.1", "0", 10)); EXPECT_DECIMAL_STREQ 898 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.015", stepUp("0", "100", "0.005", "5.005", 2)); EXPECT_DECIMAL_STREQ 899 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.06", stepUp("0", "100", "0.005", "5.005", 11)); EXPECT_DECIMAL_STREQ 900 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.065", stepUp("0", "100", "0.005", "5.005", 12)); EXPECT_DECIMAL_STREQ 902 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.015", stepUp("4", "9", "0.005", "5.005", 2)); EXPECT_DECIMAL_STREQ 903 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.06", stepUp("4", "9", "0.005", "5.005", 11)); EXPECT_DECIMAL_STREQ 904 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.065", stepUp("4", "9", "0.005", "5.005", 12)); EXPECT_DECIMAL_STREQ 909 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1e+38", stepUp("0", "1E38", "1", "1E38", 9)); EXPECT_DECIMAL_STREQ 910 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1e+38", stepDown("0", "1E38", "1", "1E38", 9)); EXPECT_DECIMAL_STREQ 1086 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("0", Decimal::zero(Positive)); EXPECT_DECIMAL_STREQ 1087 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-0", Decimal::zero(Negative)); EXPECT_DECIMAL_STREQ 1088 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1", Decimal(1)); EXPECT_DECIMAL_STREQ 1089 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-1", Decimal(-1)); EXPECT_DECIMAL_STREQ 1090 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1234567", Decimal(1234567)); EXPECT_DECIMAL_STREQ 1091 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-1234567", Decimal(-1234567)); EXPECT_DECIMAL_STREQ 1092 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("0.5", encode(5, -1, Positive)); EXPECT_DECIMAL_STREQ 1093 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-0.5", encode(5, -1, Negative)); EXPECT_DECIMAL_STREQ 1094 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("12.345", encode(12345, -3, Positive)); EXPECT_DECIMAL_STREQ 1095 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-12.345", encode(12345, -3, Negative)); EXPECT_DECIMAL_STREQ 1096 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("0.12345", encode(12345, -5, Positive)); EXPECT_DECIMAL_STREQ 1097 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-0.12345", encode(12345, -5, Negative)); EXPECT_DECIMAL_STREQ 1098 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("50", encode(50, 0, Positive)); EXPECT_DECIMAL_STREQ 1099 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-50", encode(50, 0, Negative)); EXPECT_DECIMAL_STREQ 1100 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5e+1", encode(5, 1, Positive)); EXPECT_DECIMAL_STREQ 1101 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-5e+1", encode(5, 1, Negative)); EXPECT_DECIMAL_STREQ 1102 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.678e+103", encode(5678, 100, Positive)); EXPECT_DECIMAL_STREQ 1103 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-5.678e+103", encode(5678, 100, Negative)); EXPECT_DECIMAL_STREQ 1104 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("5.678e-97", encode(5678, -100, Positive)); EXPECT_DECIMAL_STREQ 1105 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-5.678e-97", encode(5678, -100, Negative)); EXPECT_DECIMAL_STREQ 1106 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("8639999913600001", encode(UINT64_C(8639999913600001), 0, Positive)); EXPECT_DECIMAL_STREQ 1107 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("9007199254740991", encode((static_cast<uint64_t>(1) << DBL_MANT_DIG) - 1, 0, Positive)); EXPECT_DECIMAL_STREQ 1108 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("99999999999999999", encode(UINT64_C(99999999999999999), 0, Positive)); EXPECT_DECIMAL_STREQ 1109 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("9.9999999999999999e+17", encode(UINT64_C(99999999999999999), 1, Positive)); EXPECT_DECIMAL_STREQ 1110 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("9.9999999999999999e+18", encode(UINT64_C(99999999999999999), 2, Positive)); EXPECT_DECIMAL_STREQ 1111 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1e+16", encode(UINT64_C(99999999999999999), -1, Positive)); EXPECT_DECIMAL_STREQ 1112 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1000000000000000", encode(UINT64_C(99999999999999999), -2, Positive)); EXPECT_DECIMAL_STREQ 1113 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1", encode(UINT64_C(99999999999999999), -17, Positive)); EXPECT_DECIMAL_STREQ 1114 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("0.001", encode(UINT64_C(99999999999999999), -20, Positive)); EXPECT_DECIMAL_STREQ 1115 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("1e-83", encode(UINT64_C(99999999999999999), -100, Positive)); EXPECT_DECIMAL_STREQ 1120 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("Infinity", Decimal::infinity(Positive)); EXPECT_DECIMAL_STREQ 1121 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("-Infinity", Decimal::infinity(Negative)); EXPECT_DECIMAL_STREQ 1122 Source/platform/DecimalTest.cpp EXPECT_DECIMAL_STREQ("NaN", Decimal::nan());