Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Float and Double precision representations




On May 19, 2005, at 3:48, Warwick Hall wrote:

Hi,

I am developing an open source C library data/ network protocol that will be cross platform for MacOSX, Win32, Win64, Linux, and Solaris.
[snip]
Does anyone know if and how the above mentioned platforms differ in native floating point number representations?

You have a tough job ahead of you if you don't understand that none of the systems you mention have "native floating point number representations". In all cases, what determines the representation is the hardware, not the OS.


Sun's RPC/XDR protocol deals with floats, if memory serves. It sounds like you want to use it.

Regards,

Justin

PS: don't cross-post.

--
Justin C. Walker, Curmudgeon at Large
Institute for General Semantics
-----------
My wife 'n kids 'n dog are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Float and Double precision representations (From: Warwick Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.