• 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: Implicit conversion loses integer precision in x86_64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implicit conversion loses integer precision in x86_64


  • Subject: Re: Implicit conversion loses integer precision in x86_64
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 12 Sep 2014 18:48:06 -0700


On Sep 12, 2014, at 6:17 PM, Carl Hoefs <email@hidden> wrote:

Aren't 'unsigned long' and 'unsigned int' identical 32-bit quantities in x86_64?

No. You could have tried something like
printf("%d", (int)sizeof(long));
or
assert(sizeof(long) == sizeof(int));
and figured it out yourself…

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Implicit conversion loses integer precision in x86_64 (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Re: Implicit conversion loses integer precision in x86_64
  • Next by Date: Re: Implicit conversion loses integer precision in x86_64
  • Previous by thread: Re: Implicit conversion loses integer precision in x86_64
  • Next by thread: Re: Implicit conversion loses integer precision in x86_64
  • Index(es):
    • Date
    • Thread