Commit Graph

22 Commits

Author SHA1 Message Date
Beman 8c36890e77 Test and doc updates for Pierre Talbot's int8_t/uint8_t reverse_value() and templated reverse() patch. 2014-04-16 13:52:24 -04:00
Beman 9089eb037b Rename header converters.hpp back to conversion.hpp. Clean up infrastructure. 2013-05-18 16:14:30 -04:00
Beman 4066443d89 Rework intrinsic.hpp to handle GCC and Clang __builtin_bswap* if available. Add test program. 2013-05-16 10:40:18 -04:00
Beman 8b4bd2adfc Add synonyms based on names popularized by BSD, e.g. OS X, Linux. 2013-05-15 08:51:05 -04:00
Beman e7c14b9ff2 pair_test infrastructure initial commit. 2013-05-14 07:20:53 -04:00
Beman 62915438e3 Fix converter_test cases. converter_test now passes on big-endian mac. 2013-05-13 10:43:56 -04:00
Beman 4c0bd87c18 Tweaks to get tests running with various compilers. 2013-05-12 17:42:48 -04:00
Beman 6c00b65eb4 Add light test of modify-in-place interface 2013-05-12 11:31:32 -04:00
Beman ec3aacd132 Remove cruft left over from refactoring. 2013-05-12 10:55:18 -04:00
Beman 0fef88ab3f Change names to make room for modify-in-place names. 2013-05-12 08:58:44 -04:00
Beman 854c27939a Change name of conditional conversion functions to big_endian and little_endian. 2013-05-12 07:52:42 -04:00
Beman 50c1a27386 Change name convert_bytes to convert. Given the namespace, template parameters, and function arguments, it is obvious what is being converted, and "bytes" is too low level for this function. 2013-05-12 07:25:12 -04:00
Beman 2794810b29 converter_test.cpp refactoring complete 2013-05-11 17:41:06 -04:00
Beman 97b024bcf6 Continue refactoring converter_test.cpp. 2013-05-11 17:18:17 -04:00
Beman c349e35e91 Enable double, fix bug in generic reverse_bytes implementation. Begin refactoring converter_test code. 2013-05-11 16:08:15 -04:00
Beman 9e96faf4c1 float showing signs of life. 2013-05-11 08:13:55 -04:00
Beman e4d65805a6 Add tests for runtime convert_bytes 2013-05-10 18:07:48 -04:00
Beman 6af16cc339 compile-time convert_bytes working, all signed and unsigned integer cases being tested. 2013-05-10 17:51:58 -04:00
Beman 553d6a2426 Work in progress. Detect wrong endianness reported by boost/detail/endian.hpp. Add intrinsic timing to benchmark.cpp. Add boost/endian/detail/intrinsic.hpp. Use intrinsics in converters when available. Begin adding convert_bytes tests to converter_test.cpp. 2013-05-10 16:51:24 -04:00
Beman fcb5386537 All tests passing, all VC++ projects consistent 2013-05-10 11:26:17 -04:00
Beman 35a3fcb709 Set up infrastructure, change to new names, clean up comments. 2013-03-18 20:39:21 -04:00
Beman d7120e6fac Delete the original conversion.hpp.
Rename conversion2.hpp to converters.hpp.
Adjust infrastructure accordingly.
2013-03-18 20:12:41 -04:00