=================== BUG #4711: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4711&group_id=99

Changes by: Manuel Guesdon <[EMAIL PROTECTED]>
Date: lun 11.08.2003 � 20:18 (Europe/Paris)

------------------ Additional Follow-up Comments ----------------------------
Problem seems to come from GSFormat wich seems to not handle double length modifier 
like hh, ll

There's also a documentation problem in NSNumber.m:
<term> long long</term>
<desc>%li</desc>
is the same as for long (it should be %lli instead of %li).

idem for unsigned long long



=================== BUG #4711: FULL BUG SNAPSHOT ===================


Soumis par: mguesdon                  Projet: GNUstep                       
Signal� le: lun 11.08.2003 � 20:02
Category:  Base/Foundation            Severity:  7                          
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Problem handling/formating long long numbers

Original Submission:  Jus try this:

NSNumber* testNumber=[NSNumber numberWithLongLong:3372036854775807LL];

NSDebugMLog(@"testNumber=%@",testNumber);
        ==> -2098855937              (Bad)
      
NSDebugMLog(@"[testNumber longLongValue]=%lld",[testNumber
longLongValue]);
        ==> -2098855937              (Bad)

fprintf(stdour,"[value longLongValue]=%lldn",[value longLongValue]);
        ==> 3372036854775807         (Good)



Follow-up Comments
*******************

-------------------------------------------------------
Date: lun 11.08.2003 � 20:18        By: mguesdon
Problem seems to come from GSFormat wich seems to not handle double length modifier 
like hh, ll

There's also a documentation problem in NSNumber.m:
<term> long long</term>
<desc>%li</desc>
is the same as for long (it should be %lli instead of %li).

idem for unsigned long long


La liste CC est vide


Il n'y a aucun fichier attach� actuellement


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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to