24 references to AssertGoodDecimalLiteral
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
LexicalAndXml\LexicalTests.cs (24)
3259AssertGoodDecimalLiteral("7e28m", "70000000b30310a7e22ea49300000000"); 3262AssertGoodDecimalLiteral("792E26m", "600000000ae7ac71ffe8b45b00000000"); 3265AssertGoodDecimalLiteral("7922816251426433759354395033E1m", "fffffffaffffffffffffffff00000000"); 3269AssertGoodDecimalLiteral("79228162514264337593543950335E0m", "ffffffffffffffffffffffff00000000"); 3272AssertGoodDecimalLiteral("7922816251426433759354395033.5E1m", "ffffffffffffffffffffffff00000000"); 3275AssertGoodDecimalLiteral("7.9228162514264337593543950335E28m", "ffffffffffffffffffffffff00000000"); 3280AssertGoodDecimalLiteral("1e-9999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3282AssertGoodDecimalLiteral("1.0e-9999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3286AssertGoodDecimalLiteral("1e-99999999999999999999999999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3288AssertGoodDecimalLiteral("1.0e-99999999999999999999999999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3291AssertGoodDecimalLiteral("0e-27M", "000000000000000000000000001b0000"); 3292AssertGoodDecimalLiteral("0e-28M", "000000000000000000000000001c0000"); 3293AssertGoodDecimalLiteral("0e-29M", "000000000000000000000000001c0000"); //CONSIDER: dev10 has 00000000000000000000000000000000, which makes no sense 3296AssertGoodDecimalLiteral("1e-27M", "000000010000000000000000001b0000"); 3297AssertGoodDecimalLiteral("1e-28M", "000000010000000000000000001c0000"); 3298AssertGoodDecimalLiteral("1e-29M", "000000000000000000000000001c0000"); //Becomes zero. 3304AssertGoodDecimalLiteral("1.23456789012345678901234567890123456789012345678901234567890e28m", "6e39811546bec9b127e41b3200000000"); 3306AssertGoodDecimalLiteral("123456789012345678901234567890123456789012345678901234567890e-31m", "6e39811546bec9b127e41b3200000000"); 3308AssertGoodDecimalLiteral("123456789012345678901234567890.123456789012345678901234567890e-1m", "6e39811546bec9b127e41b3200000000"); 3317AssertGoodDecimalLiteral("792281625142643375935439503350E-1M", "ffffffffffffffffffffffff00000000"); 3318AssertGoodDecimalLiteral("7922816251426433759354395033500000E-5M", "ffffffffffffffffffffffff00000000"); 3320AssertGoodDecimalLiteral("792281625142643375935439503354E-1M", "ffffffffffffffffffffffff00000000"); 3321AssertGoodDecimalLiteral("7922816251426433759354395033549999E-5M", "ffffffffffffffffffffffff00000000"); 3350AssertGoodDecimalLiteral("1.1E-1M", "0000000b000000000000000000020000");