dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [Bug #3050] [0.5.4]: bug in hexadecimal formatting of


From: nobody
Subject: [Pnet-developers] [Bug #3050] [0.5.4]: bug in hexadecimal formatting of negative integers
Date: Wed, 02 Apr 2003 05:23:08 -0500

=================== BUG #3050: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3050&group_id=353

Submitted by: yannis_bres             Project: DotGNU Portable.NET          
Submitted on: Wed 04/02/03 at 10:23
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  [0.5.4]: bug in hexadecimal formatting of negative integers

Original Submission:  Both Mono and M$ format a negative number such as -127 in 
hexadecimal as ffffff81 while pnet format it as 81.
See the attached test file with the different VM outputs.
Have fun,
     Yannis

Pnet 0.5.4 :
plus127.ToString( "x" ): 7f
String.Format( "7f", plus127 ): 7f
minus127.ToString( "x" ): 81
String.Format( "81", minus127 ): 81

Mono 0.23 :
plus127.ToString( "x" ): 7f
String.Format( "7f", plus127 ): 7f
minus127.ToString( "x" ): ffffff81
String.Format( "ffffff81", minus127 ): ffffff81

M$ :
plus127.ToString( "x" ): 7f
String.Format( "7f", plus127 ): 7f
minus127.ToString( "x" ): ffffff81
String.Format( "ffffff81", minus127): ffffff81




No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Wed 04/02/03 at 10:23  Name: ToStringX.cs  Size: 0KB   By: yannis_bres

http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=3050&bug_file_id=381


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3050&group_id=353


reply via email to

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