Peter Dimov
|
b0b9622ceb
|
Use an unaligned type instead of double in packed_*_test
|
2020-10-07 01:37:03 +03:00 |
|
Peter Dimov
|
84f15c4fb2
|
Add more sizeof tests to packed_buffer_test
|
2020-10-06 22:00:35 +03:00 |
|
Peter Dimov
|
7832a88828
|
Make endian_arithmetic's data member public when BOOST_ENDIAN_NO_CTORS is defined; add test
|
2020-10-06 19:34:40 +03:00 |
|
Peter Dimov
|
94b5b7c73f
|
Add test for arithmetic -> buffer conversions
|
2020-10-06 19:08:25 +03:00 |
|
Peter Dimov
|
914d7d5c8d
|
Make endian_buffer::value_ public when BOOST_ENDIAN_NO_CTORS is defined; add test
|
2020-10-06 18:53:56 +03:00 |
|
Peter Dimov
|
9ee301b103
|
Enable conditional_reverse_inplace for arrays
|
2020-05-05 21:24:02 +03:00 |
|
Peter Dimov
|
d46d2916a8
|
Add more tests to endian_reverse_test3/4
|
2020-05-05 20:18:58 +03:00 |
|
Peter Dimov
|
62091e5d0c
|
Add an overload of endian_reverse_inplace for arrays
|
2020-05-05 20:06:21 +03:00 |
|
Peter Dimov
|
3e2890c243
|
Enable endian_reverse_inplace for integral/enum/float/double
|
2020-05-03 03:22:21 +03:00 |
|
Peter Dimov
|
8e617a69d1
|
Enable scoped enums in endian_reverse
|
2020-05-03 00:10:26 +03:00 |
|
Peter Dimov
|
ceb58197d5
|
Add detail/is_scoped_enum.hpp
|
2020-05-02 20:23:35 +03:00 |
|
Peter Dimov
|
2b101c64a9
|
Fix alignment test for 32 bit Linux/macOS
|
2020-03-12 00:59:43 +02:00 |
|
Peter Dimov
|
f143fe172d
|
Fix conversion_test.cpp to not rely on BOOST_ENDIAN_BIG_BYTE
|
2020-01-13 19:41:04 +02:00 |
|
Peter Dimov
|
69c020ea8f
|
Constrain the primary endian_reverse to not apply to class types; add test. Fixes #41.
|
2020-01-13 16:22:16 +02:00 |
|
Peter Dimov
|
3a50c15a97
|
Add CMake install support, tests
|
2020-01-05 03:29:05 +02:00 |
|
Peter Dimov
|
816c7597e3
|
Add order_test.cpp
|
2020-01-05 01:32:57 +02:00 |
|
Peter Dimov
|
1a8b6a498b
|
Remove use of Predef in endian_test.cpp
|
2020-01-04 21:27:39 +02:00 |
|
Peter Dimov
|
c64f7c3372
|
Add <boost/endian.hpp>
|
2019-10-22 19:41:49 +03:00 |
|
Peter Dimov
|
fbc198e75d
|
Add __int128 support to endian_reverse
|
2019-10-20 21:28:38 +03:00 |
|
Peter Dimov
|
51f095f019
|
Add data_test
|
2019-10-15 21:07:40 +03:00 |
|
Peter Dimov
|
59097ada36
|
Change data() to return unsigned char*; add non-const versions
|
2019-10-15 18:58:48 +03:00 |
|
Peter Dimov
|
af83fc2537
|
Add float_typedef_test
|
2019-10-15 02:41:11 +03:00 |
|
Peter Dimov
|
b015a164f8
|
Add floating point typedefs to arithmetic.hpp; rename double64 to float64 in buffers.hpp
|
2019-10-15 02:26:58 +03:00 |
|
Peter Dimov
|
f992e9d3e4
|
Test floating point typedefs in buffer_test
|
2019-10-15 02:08:57 +03:00 |
|
Peter Dimov
|
ac0383f28d
|
Test floating point in endian_arithmetic_test
|
2019-10-15 02:02:11 +03:00 |
|
Peter Dimov
|
60a5068070
|
Fix whitespace
|
2019-10-12 22:27:04 +03:00 |
|
Peter Dimov
|
4054afda70
|
Add convenience store functions
|
2019-10-12 19:21:19 +03:00 |
|
Peter Dimov
|
22d0d7bcd1
|
Add convenience load functions
|
2019-10-12 18:50:59 +03:00 |
|
Peter Dimov
|
33dea996a7
|
Add constexpr tests for *_to_*, conditional_reverse
|
2019-10-11 19:57:49 +03:00 |
|
Peter Dimov
|
704cd4d9f7
|
Skip endian_reverse_cx_test when using non-constexpr intrinsics
|
2019-10-11 19:48:11 +03:00 |
|
Peter Dimov
|
3c296ff707
|
Add test/endian_reverse_cx_test
|
2019-10-11 19:42:32 +03:00 |
|
Peter Dimov
|
96ef03b6cb
|
Update CMakeLists
|
2019-05-05 04:46:43 +03:00 |
|
Peter Dimov
|
79c3add907
|
Support any expanding loads in endian_load
|
2019-04-30 23:53:39 +03:00 |
|
Peter Dimov
|
fe18fdbb3b
|
Include endian/conversion.hpp in the store tests instead of the detail header
|
2019-04-30 21:29:34 +03:00 |
|
Peter Dimov
|
8df14956d4
|
Support any truncating store in endian_store
|
2019-04-30 20:39:17 +03:00 |
|
Peter Dimov
|
d40a3ac3f4
|
Switch the parameter order of endian_store
|
2019-04-30 05:13:47 +03:00 |
|
Peter Dimov
|
f0f8e398d6
|
conversion.hpp: remove unused detail functions, static-assert that types are EndianReversible
|
2019-04-29 01:32:07 +03:00 |
|
Peter Dimov
|
b29b3dfc10
|
Move all deprecated names to endian.hpp; add deprecated_test.cpp to test/Jamfile
|
2019-04-29 00:36:21 +03:00 |
|
Peter Dimov
|
8200306bf1
|
More signed overflow avoidance
|
2019-04-28 06:37:29 +03:00 |
|
Peter Dimov
|
dad7086b37
|
Avoid signed integer overflow in endian_arithmetic_test
|
2019-04-28 04:12:09 +03:00 |
|
Peter Dimov
|
c59eb627ad
|
Add endian_arithmetic_test
|
2019-04-28 00:58:51 +03:00 |
|
Peter Dimov
|
15e6923325
|
Update buffer_test
|
2019-04-27 22:00:01 +03:00 |
|
Peter Dimov
|
f77a318c37
|
Remove BOOST_ENDIAN_LOG
|
2019-04-27 19:28:49 +03:00 |
|
Peter Dimov
|
6047813081
|
Add endian_store_test
|
2019-04-27 18:03:43 +03:00 |
|
Peter Dimov
|
c42fcb09bc
|
endian_load_test: Remove unnecessary #pragma warning
|
2019-04-27 17:37:02 +03:00 |
|
Peter Dimov
|
64607e2e2e
|
Use -Wno-sign-compare on g++ 4.4.7
|
2019-04-27 06:49:39 +03:00 |
|
Peter Dimov
|
d9e5fb0d41
|
Add endian_ld_st_roundtrip_test
|
2019-04-27 02:40:47 +03:00 |
|
Peter Dimov
|
2df48f1427
|
Add endian_load_test
|
2019-04-27 02:15:39 +03:00 |
|
Peter Dimov
|
a2025a9320
|
Refactor endian_reverse into its own header, make it work for long and long long
|
2019-04-26 20:24:27 +03:00 |
|
Peter Dimov
|
8f890ed3c3
|
Add -Wno-strict-aliasing for g++ 4.4.7 (false positive)
|
2019-03-20 19:54:15 +02:00 |
|