24 references to AssertGoodDecimalLiteral
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
LexicalAndXml\LexicalTests.cs (24)
3674AssertGoodDecimalLiteral("7e28m", "70000000b30310a7e22ea49300000000"); 3677AssertGoodDecimalLiteral("792E26m", "600000000ae7ac71ffe8b45b00000000"); 3680AssertGoodDecimalLiteral("7922816251426433759354395033E1m", "fffffffaffffffffffffffff00000000"); 3684AssertGoodDecimalLiteral("79228162514264337593543950335E0m", "ffffffffffffffffffffffff00000000"); 3687AssertGoodDecimalLiteral("7922816251426433759354395033.5E1m", "ffffffffffffffffffffffff00000000"); 3690AssertGoodDecimalLiteral("7.9228162514264337593543950335E28m", "ffffffffffffffffffffffff00000000"); 3695AssertGoodDecimalLiteral("1e-9999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3697AssertGoodDecimalLiteral("1.0e-9999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3701AssertGoodDecimalLiteral("1e-99999999999999999999999999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3703AssertGoodDecimalLiteral("1.0e-99999999999999999999999999M", "000000000000000000000000001c0000"); // Native compiler reports CS0594 3706AssertGoodDecimalLiteral("0e-27M", "000000000000000000000000001b0000"); 3707AssertGoodDecimalLiteral("0e-28M", "000000000000000000000000001c0000"); 3708AssertGoodDecimalLiteral("0e-29M", "000000000000000000000000001c0000"); //CONSIDER: dev10 has 00000000000000000000000000000000, which makes no sense 3711AssertGoodDecimalLiteral("1e-27M", "000000010000000000000000001b0000"); 3712AssertGoodDecimalLiteral("1e-28M", "000000010000000000000000001c0000"); 3713AssertGoodDecimalLiteral("1e-29M", "000000000000000000000000001c0000"); //Becomes zero. 3719AssertGoodDecimalLiteral("1.23456789012345678901234567890123456789012345678901234567890e28m", "6e39811546bec9b127e41b3200000000"); 3721AssertGoodDecimalLiteral("123456789012345678901234567890123456789012345678901234567890e-31m", "6e39811546bec9b127e41b3200000000"); 3723AssertGoodDecimalLiteral("123456789012345678901234567890.123456789012345678901234567890e-1m", "6e39811546bec9b127e41b3200000000"); 3732AssertGoodDecimalLiteral("792281625142643375935439503350E-1M", "ffffffffffffffffffffffff00000000"); 3733AssertGoodDecimalLiteral("7922816251426433759354395033500000E-5M", "ffffffffffffffffffffffff00000000"); 3735AssertGoodDecimalLiteral("792281625142643375935439503354E-1M", "ffffffffffffffffffffffff00000000"); 3736AssertGoodDecimalLiteral("7922816251426433759354395033549999E-5M", "ffffffffffffffffffffffff00000000"); 3765AssertGoodDecimalLiteral("1.1E-1M", "0000000b000000000000000000020000");