Boost logo

Boost Users :

From: Andrea Denzler (andrea_at_[hidden])
Date: 2008-08-09 09:56:46


Most modern platforms use the IEEE 754 (1985) encoding for binary data
(float/double). But I suppose there is still the (easy to handle) endianess
issue. http://www.appinf.com/download/FPIssues.pdf

-----Messaggio originale-----
Da: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] Per conto di Ákos Maróy
Inviato: sabato 9 agosto 2008 14.54
A: boost-users_at_[hidden]
Oggetto: Re: [Boost-users] cross-platfrom binary serialization?

Jeff,

> lookup portable_binary_archive, IIRC in the
> ...libs/serialization/example directory. Make sure you use the version
> from Trunk which has had some bugs fixed.

meanwhile I found the svn URL for boost, at
http://svn.boost.org/svn/boost/trunk

I'm looking at the sample, and I see the following comment:

// "Portable" input binary archive. It addresses integer size and
endienness so
// that binary archives can be passed across systems. Note:floating
point types
// not addressed here

so I guess floating point type support needs to be added to this
implementation? what would be your suggestion to implement floating
point support? use some portable binary representation for floating
point types?

Akos
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net