Add IEEE 754 single/double precision support to wxDataStream classes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 May 2013 00:31:03 +0000 (00:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 May 2013 00:31:03 +0000 (00:31 +0000)
commit789ab84044b35b6162c7110adfa54c91e182e909
tree2ff38252dd1e991700223828c17f1f7289a88782
parentbe2a424da659cc9420f941e1ad27307f20cd1ce4
Add IEEE 754 single/double precision support to wxDataStream classes.

Allow to optionally raed/write float/double values in IEEE 754 single/double
precision formats, respectively, instead of always using the extended
precision format for both of them.

This makes the code more flexible, allowing for better interoperability with
the other programs, and also allows to implement floating point functions in
these classes even when wxUSE_APPLE_IEEE is turned off (as can be the case
because of the licencing concerns for the code in extended.c).

Closes #10625.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
docs/doxygen/mainpages/const_wxusedef.h
include/wx/datstrm.h
interface/wx/datstrm.h
src/common/datstrm.cpp
tests/streams/datastreamtest.cpp