• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unsigned 16 digit integer data type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unsigned 16 digit integer data type?


  • Subject: Re: unsigned 16 digit integer data type?
  • From: lbland <email@hidden>
  • Date: Tue, 4 Nov 2003 16:50:00 -0500

On Tuesday, November 4, 2003, at 03:04 PM, Ben Dougall wrote:

which gives 287445 for some reason. how can you print a long long out? or have i set it up wrong?
also, out of interest, what's the maximum value of a unsigned long long?

note:

printf("sizeof(unsigned long long): %d\n", sizeof(unsigned long long));

unsigned long long n;
n = 1234567890987654;
printf("n:%qu\n", n);

gives:

sizeof(unsigned long long): 8
n:1234567890987654

-lance

Lance Bland
mailto:email@hidden
VVI
888-VVI-PLOT
http://www.vvi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: unsigned 16 digit integer data type? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: unsigned 16 digit integer data type?
  • Next by Date: Re: Super Newbie
  • Previous by thread: Re: unsigned 16 digit integer data type?
  • Next by thread: Re: unsigned 16 digit integer data type?
  • Index(es):
    • Date
    • Thread