Code

proto: Added support for marshaling double-precision values.
authorSebastian Harl <sh@tokkee.org>
Tue, 23 Dec 2014 17:16:13 +0000 (18:16 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 23 Dec 2014 17:16:13 +0000 (18:16 +0100)
commit7624ec9003444dbd76f03dfeda38167f3831fc48
treeb6daac364b44628d6e950631effbcfb0fbca8d1a
parent895a5695294975c87e1695f41be997fbeac85563
proto: Added support for marshaling double-precision values.

For this, determine the memory layout of doubles in 'configure' and then use
IEEE-754 big-endian encoding on the wire. For now, only little- and big-endian
IEEE-754 doubles are supported but that'll cover the vast majority of all
systems.
configure.ac
src/utils/proto.c
t/unit/utils/proto_test.c