Re: float from NSData
Re: float from NSData
- Subject: Re: float from NSData
- From: "Sean McBride" <email@hidden>
- Date: Tue, 3 Mar 2009 10:43:21 -0500
- Organization: Rogue Research Inc.
On 3/3/09 12:42 PM, Graham Cox said:
>Have a look at NSSwapBigFloatToHost and friends
Interesting. I'd not noticed that function, but I'm a bit suspicious of
it. It takes a NSSwappedFloat struct, which is a struct with a single
'long'. But a float is 32 bit, and a long is either 32 or 64 depending, so...
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden