Float and Double precision representations
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, Regards, Warwick Hall _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Warwick Hall