• 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: problem with [NSData bytes] on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with [NSData bytes] on Intel


  • Subject: Re: problem with [NSData bytes] on Intel
  • From: Camillo Lugaresi <email@hidden>
  • Date: Sat, 4 Feb 2006 10:57:25 +0100

On 04/feb/06, at 09:27, Markus Hitter wrote:


Am 04.02.2006 um 08:18 schrieb john:

I'm having an unusual problem when I gain access to the bytes of an NSData on an Intel iMac. Everything works fine on PPC and Rosetta, but the native Intel binary exhibits this problem.
[...]
Am I missing something?

You miss handling the different endianess of both architectures? For floats/doubles, both processors might even use a different number of bits for mantissa and exponent.

No, they both use IEEE 754 floats.

Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: problem with [NSData bytes] on Intel
      • From: Markus Hitter <email@hidden>
References: 
 >problem with [NSData bytes] on Intel (From: john <email@hidden>)
 >Re: problem with [NSData bytes] on Intel (From: Markus Hitter <email@hidden>)

  • Prev by Date: stringWithFormat: problem
  • Next by Date: Re: problem with [NSData bytes] on Intel
  • Previous by thread: Re: problem with [NSData bytes] on Intel
  • Next by thread: Re: problem with [NSData bytes] on Intel
  • Index(es):
    • Date
    • Thread