Updated HexFloat parsing for windows.
authorAndrew Woloszyn <awoloszyn@google.com>
Mon, 2 Nov 2015 16:45:38 +0000 (11:45 -0500)
committerDavid Neto <dneto@google.com>
Mon, 2 Nov 2015 18:52:31 +0000 (13:52 -0500)
commit6dfd4186f599d11e79870e043d4d1a57c2606ac8
treef712198d0f4b5d2ea2f486f9bc1b9dccc401b4b3
parent0b61c593a2fa793e7765544d58b662fbe2b0a0a1
Updated HexFloat parsing for windows.

It is valid for float values to be modified on copy if they are NaN,
so long as they remain the correct NaN. What this means is that
we can not rely on the float data-type for storing float values
if we want to retain bit patterns.

Added FloatProxy which stores data in an unsigned integer, and updated
the HexFloat template to deal with FloatProxy values instead.
include/util/bitutils.h [changed mode: 0644->0755]
include/util/hex_float.h [changed mode: 0644->0755]
test/HexFloat.cpp [changed mode: 0644->0755]