这是一个C#代码:
Console.WriteLine(-1);
Console.WriteLine(-4);
Console.WriteLine(5);
Console.WriteLine(12);
Console.WriteLine("string number 1");
Console.WriteLine(555);
Console.WriteLine(-555);
Console.WriteLine(555.55);
Console.WriteLine(-555.55);
这是IL代码的一部分
ldc.i4.m1, -1
ldc.i4.s, -4
ldc.i4.5
ldc.i4.s, 12
ldstr, "string number 1"
ldc.i4, 0x22b
ldc.i4, 0xfffffdd5
ldc.r8, 555.54999999999995
ldc.r8, -555.54999999999995
我想知道为什么555
被表示为0x22b
而 - 555
被表示为0xfffffdd5
?