Float and Double precision representations
Float and Double precision representations
- Subject: Float and Double precision representations
- From: Warwick Hall <email@hidden>
- Date: Thu, 19 May 2005 20:48:29 +1000
Hi,
I am developing an open source C library data/ network protocol that
will be cross platform for MacOSX, Win32, Win64, Linux, and Solaris.
The aim is to transmit floating point numbers in the same format used
by Java virtual machines in the Class File Format (see Java Virtual
Machine Specification 2nd Edition Sections 4.4.4 and 4.4.5).
The problem arises when a server converts a native (platform
specific) float or double into the Java format, transmits it, and the
client converts it back to the client's native float or double format
that there can be a loss of information such as precision.
Does anyone know if and how the above mentioned platforms differ in
native floating point number representations?
Are there any cross platform libraries that deal with converting
between platforms?
Regards,
Warwick Hall
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden