Commit Graph
183 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
Pierre Talbot 11fc1ea374 Add overloads for int8_t and uint8_t (rational: useful with generic programming). Template the reverse function (same body in each overloads). 2014-01-22 18:09:50 +01:00
Beman d339470e6e Remove "explicit" from Endian type constructors. Rationale: Having to write "cntr.insert(big_int32_t(value))" instead of "cntr.insert(value)" gets old fast when you are writing application code and the use case arises more or less continuously. Additionally, the use of an endian type is an implementation detail that should not leak into the application code that needs to create values of the type. Furthermore, the ambiguities that caused the constructors to be made explicit no longer occur; they were eliminated when BOOST_MINIMAL_INTEGER_COVER_OPERATORS was introduced to removed a dependency on boost/operators.hpp. If an ambiguity does arise, it is easy to clear via a static_cast or a function-style cast. 2013-09-06 10:36:54 -04:00
Beman 22728f62e2 Add breaking changes heads up 2013-09-01 09:10:00 -04:00
Beman 79391248e0 Add the build .bat files as a maintenance aid. 2013-09-01 08:44:27 -04:00
Beman 016d3b2e7c Rename the endian typedefs. Rationale: Subjective - during three months working on the B-tree library, the *un_t names were a constant source of irritation. Objective - the new scheme, which reverts the *un_t names to having no alignment decoration, provides consistent *_align* decoration for both FP and integer types. Also, the library now provides conversion functions which may reduce use of aligned endian types. 2013-09-01 08:40:32 -04:00
Beman d1d62f3adc Use detail::reverse_value() to implement reverse_value() for float and double, thus eliminating type-punning warning from gcc. 2013-06-07 15:46:14 -04:00
Beman a40d580782 Get 64-bit builds working. Update timings to reflect 64-bit build. 2013-06-06 08:00:28 -04:00
Beman 944bf285fa Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! 2013-05-30 10:07:43 -04:00
Beman 74b122c581 Alignment of 64-bit integers on a 32-bit system may be to a 32-bit boundary! 2013-05-30 10:07:16 -04:00
Beman cd985897e6 By default use a shorter test, but add coverage of the aligned types. 2013-05-30 09:19:42 -04:00
Beman 30c44461f6 Only do relational tests if signedness is the same, to quiet GCC warnings. Start using lightweight test. 2013-05-30 08:57:09 -04:00
Beman 2fee60f99b Copy from README 2013-05-29 10:37:44 -04:00
Beman db3864b3d4 Fix boo boos detected by inspect program. 2013-05-29 09:40:35 -04:00
Beman 457ed73778 Add more UDT use examples. Link to UDT example in conversion function docs. 2013-05-29 09:04:31 -04:00
Beman fbedc9bb9f Remove another bin_manip file. Note that all the bin-manip files have been copied to git@github.com:Beman/bin-manip.git 2013-05-29 08:36:40 -04:00
Beman 345e13e2fb Remove support files no longer used. 2013-05-29 08:08:38 -04:00
Beman 530dbb679b Fix broken links, tweak content. 2013-05-28 21:33:07 -04:00
Beman d188b81207 Spacing and minor content tweak. 2013-05-28 21:11:18 -04:00
Beman 4ed706be76 FAQ corrections. 2013-05-28 20:52:42 -04:00
Beman e6ca50a6a7 Switch to inline style sheet 2013-05-28 17:06:32 -04:00
Beman 6c7e94ad15 Add a bit more explanation of examples. Add Release history. 2013-05-28 16:33:59 -04:00
Beman b541dfb790 Last pass through docs 2013-05-28 11:04:03 -04:00
Beman 9c25d54d38 Finalize index.html discussion. 2013-05-28 09:42:04 -04:00
Beman 01eba9b491 Add timing tables. 2013-05-28 08:02:56 -04:00
Beman a55a44c67b Loop test time work in progress. 2013-05-28 07:37:52 -04:00
Beman 50b5488997 loop_time_test current work-in-progress 2013-05-27 08:53:18 -04:00
Beman 32b04869e8 Initial commit loop_time_test.cpp and its infrastructure. 2013-05-27 07:44:29 -04:00
Beman 7f9d91e6d2 Rename unaligned integers to fit the floating point pattern. Unifies the naming pattern, deliberately makes the unaligned type names a bit uglier. 2013-05-26 12:05:33 -04:00
Beman dff7c1254e Add unaligned floating point types and supporting infrastructure. 2013-05-26 08:25:10 -04:00
Beman a7ba65f830 Implement, test, float and double endian types. 2013-05-25 12:16:32 -04:00
Beman f8f8d90b1f Eliminate addition as not adding any useful information. 2013-05-24 13:22:48 -04:00
Beman 77520edff1 Change speed_test.cpp output to HTML 2013-05-24 11:28:26 -04:00
Beman 2f85e370b6 Add 16 and 64 bit varieties 2013-05-23 10:19:56 -04:00
Beman 8f55000f6f Finally getting useful speed_test results from both GCC and VC++ 2013-05-23 10:11:29 -04:00
Beman 319572d721 Punctuation in comment. 2013-05-23 07:33:06 -04:00
Beman 2623b1cfaa Initial commit - Jamfile for speed_test 2013-05-22 14:12:17 -04:00
Beman 41f0c15844 Initial done_list.html. Improve general FAQ. Update example. Add BOOST_NOEXCEPT to types.hpp and cover_operators.hpp. 2013-05-22 13:26:51 -04:00
Beman c7beb10785 Add alignment test cases for aligned endian types. 2013-05-22 08:46:56 -04:00
Beman 6f84684e9e Add separate big and little specializations for aligned case; the attempt to combine into a single specialization was selecting the unaligned specialization. Rework speed_test to try to get more meaningful results and cover more test cases. 2013-05-22 08:14:51 -04:00
Beman a855a35c57 align::yes specialization working, using ::boost::endian::convert_value<...>(T). 2013-05-21 17:31:08 -04:00
Beman 50e389f63c Preliminary work on align::yes specialization. 2013-05-21 17:03:07 -04:00
Beman 4d6f7001fa Create separate synopsis section 2013-05-21 08:38:24 -04:00
Beman ddb5936b68 Yet another naming scheme for type synonyms. Aligned type names now exactly follow the <cstdint> pattern, while the unaligned names elide "int". 2013-05-21 07:56:27 -04:00
Beman 870b542456 Rename endian types to a scheme that mimics cstdint.hpp. Change test and example code accordingly. 2013-05-20 17:03:12 -04:00
Beman c1dff8958c Continue doc refinement. 2013-05-20 15:04:33 -04:00
Beman ecaabbeba4 Rename integers.html to types.html, mimicing the rename of the header. 2013-05-20 09:12:00 -04:00
Beman f13a9cd6a4 Rename integers.hpp to types.hpp in case floating point is someday supported. 2013-05-20 09:07:01 -04:00
Beman ee750c0ec8 Minor edits to conversion docs. Edits plus add Advantages table to index.html. 2013-05-20 08:47:38 -04:00
Beman 6130c5f84c Continue refinement of specs. Add to FAQ. Create function group bookmarks and link to them. 2013-05-19 17:08:42 -04:00