mirror of
https://github.com/boostorg/endian.git
synced 2025-08-03 22:44:32 +02:00
native_float32_t and native_float64_t, fixing issue #2.
This commit is contained in:
@@ -194,6 +194,9 @@ namespace endian
|
|||||||
typedef big_uint56_t native_uint56_t;
|
typedef big_uint56_t native_uint56_t;
|
||||||
typedef big_uint64_t native_uint64_t;
|
typedef big_uint64_t native_uint64_t;
|
||||||
|
|
||||||
|
// unaligned native endian floating point types
|
||||||
|
typedef big_float32_t native_float32_t;
|
||||||
|
typedef big_float64_t native_float64_t;
|
||||||
# else
|
# else
|
||||||
// unaligned native endian signed integer types
|
// unaligned native endian signed integer types
|
||||||
typedef little_int8_t native_int8_t;
|
typedef little_int8_t native_int8_t;
|
||||||
@@ -214,6 +217,10 @@ namespace endian
|
|||||||
typedef little_uint48_t native_uint48_t;
|
typedef little_uint48_t native_uint48_t;
|
||||||
typedef little_uint56_t native_uint56_t;
|
typedef little_uint56_t native_uint56_t;
|
||||||
typedef little_uint64_t native_uint64_t;
|
typedef little_uint64_t native_uint64_t;
|
||||||
|
|
||||||
|
// unaligned native endian floating point types
|
||||||
|
typedef little_float32_t native_float32_t;
|
||||||
|
typedef little_float64_t native_float64_t;
|
||||||
# endif
|
# endif
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
} // namespace endian
|
} // namespace endian
|
||||||
|
Reference in New Issue
Block a user