Added float conversion functions to ByteVector.

Added CMake checks about IEEE754 compliance.
This commit is contained in:
Tsuda Kageyu
2014-07-17 01:28:02 +09:00
parent b509106031
commit e29f1d39e7
10 changed files with 397 additions and 60 deletions

View File

@ -1,9 +1,13 @@
/* config.h. Generated by cmake from config.h.cmake */
/* Indicates the byte order of your target system */
/* Integer byte order of your target system */
/* 1 if little-endian, 2 if big-endian. */
#cmakedefine SYSTEM_BYTEORDER ${SYSTEM_BYTEORDER}
/* IEEE754 byte order of your target system. */
/* 1 if little-endian, 2 if big-endian. */
#cmakedefine FLOAT_BYTEORDER ${FLOAT_BYTEORDER}
/* Defined if your compiler supports some byte swap functions */
#cmakedefine HAVE_GCC_BYTESWAP_16 1
#cmakedefine HAVE_GCC_BYTESWAP_32 1