[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Pnet signed int bugs

From: Peter Minten
Subject: [DotGNU]Pnet signed int bugs
Date: Mon, 22 Jul 2002 16:59:31 +0200

Hi folks,

there seem to be some bugs in pnet's signed int code, the following example
demonstrates the problem:

class test
    public static void Main()
        Console.WriteLine(Int16.MinValue == 0x8000); 
        //Should return true according to specs
        Console.WriteLine(Int32.MinValue == 0x80000000); 
        //Should return true
        Console.WriteLine(Int64.MinValue == 0x8000000000000000); 
        //Doesn't even compile but should return true according to specs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]