bug-gnustep
[Top][All Lists]
Advanced

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

[bug #4711] Problem handling/formating long long numbers


From: nobody
Subject: [bug #4711] Problem handling/formating long long numbers
Date: Mon, 11 Aug 2003 14:02:10 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030428 Galeon/1.3.3

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

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)





No Followups Have Been Posted


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/





reply via email to

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