Commit Graph
308 Commits
Author SHA1 Message Date
Beman d612bee5b9 Initial commit of work-in-progress 2015-03-27 08:06:33 -04:00
Beman fdc8965842 Some older Microsoft libraries did not have uint64_t, so use boost/cstdint.hpp for it. 2015-03-26 11:03:39 -04:00
Beman 3dffbdbcb4 Add notice explaining absence of floating point support. 2015-03-25 18:12:45 -04:00
Beman 01f7e359bb Update docs to reflect removal of floating point support from 1.58.0 2015-03-25 08:05:49 -04:00
Beman 5caf1d16c8 Remove floating point support for boost 1.58.0. As currently implemented, return by value operations are not reliable because normalization and other bit pattern changes can occur. Docs not updated as yet. Floating point support will be corrected and reinstated for boost 1.59.0, based on in-place customization and inplace and/or copy signatures to replace the unsafe (i.e. native_to_big/little ) by value returns. The big/little_to_native return by value functions are safe, but require reimplementation. 2015-03-24 17:24:56 -04:00
Beman a15f9420cb Add fp_exhaustive_test. 2015-03-20 08:59:47 -04:00
Beman e532e9c34d BOOST_TEST_MEM_EQ() macro returns bool to aid code that adds additional reporting on errors. 2015-03-20 07:41:54 -04:00
Beman 5ab08db7a4 Use BOOST_NO_CXX11_NUMERIC_LIMITS for testing with C++03 standard libraries. Always show test output. 2015-03-16 08:58:42 -04:00
Beman 44542694e3 Add round trip test to auto test. Remove tests made redundant by auto test. 2015-03-14 09:45:50 -04:00
Beman cea2be8023 Add auto_test cases lowest(), epsilon(), 0.0, -0.0, 1.0, -1.0 2015-03-14 09:01:55 -04:00
Beman ff4b22bdec Add more auto_test cases. 2015-03-14 08:20:41 -04:00
Beman affdcac443 Rename float_test to floating_point_test. Old name was unclear. Might have incorrectly been read as "test of type float" instead of "test of floating point types". 2015-03-11 10:36:34 -04:00
Beman 7460870381 Comment out failing signaling_NaN() tests. 2015-03-10 16:37:36 -04:00
Beman 13b0d7b9ba Add missing #include <limits>. 2015-03-10 16:34:47 -04:00
Beman 4f2a715c9f Fully implement float_value_test and double_value_test 2015-03-09 17:11:54 -04:00
Beman 09ae6c961f Rename BOOST_TEST_MEMCMP_EQ to BOOST_TEST_MEM_EQ. Add float_test to Jamfile. Add float_value_test() and double_value_test(). 2015-03-08 10:50:39 -04:00
Beman adc09abc7a Also show numeric_limits values in big and little endian hex. 2015-03-07 08:59:14 -05:00
Beman 072b495240 Add Endian specific lightweight_test.hpp with new macro BOOST_TEST_MEMCMP_EQ that uses std::memcmp(...)==0 to determine equality. Bitwise equality is the standard we want floating point round trips to be held to, since NaN's are then equal. 2015-03-05 10:52:28 -05:00
Beman 482bcb0855 report_limits() working. 2015-03-04 14:51:39 -05:00
Beman a968c67510 Initial commit of infrastructure. No test cases yet. 2015-03-04 11:48:21 -05:00
Beman 63a5b4ff54 Manually apply a few renaming corrections. Reorder typedefs in synopsis for consistency. 2015-02-23 08:06:01 -05:00
Beman 9c0cbae556 Revert the default (*_t) types to unaligned, and used *_at to identify the aligned types. See mini-review thread for rationale. 2015-02-23 07:24:17 -05:00
Beman b6b03ea900 Fix incorrect header guard 2015-02-21 09:02:41 -05:00
Beman 963f00ec8f Add missing one byte aligned types, plus other minor fixes. 2015-02-21 07:38:03 -05:00
Beman c62aa232e1 Apply mini-review editorial fixes from Rob Stewart, mostly just accepting his suggested wording. 2015-02-17 11:21:21 -05:00
Beman 8b7a140f0e Test actual object. Mini-review suggestion from Rob Stewart. 2015-02-17 09:46:59 -05:00
Beman b0ef03b9d6 Rearranges rows and columns in tables. Add big_int8_t, big_uint8_t, little_int8_t, little_uint8_t arithmetic and buffer types, in response to mini-review query. 2015-02-16 19:31:48 -05:00
Beman d0dc573ec1 Refer to endian type size in terms of bits, for consistency with names (e.g. big_int40_ut is 40-bits, not 40-bytes). Add example to "Does endianness have any uses outside of ...". 2015-02-16 19:28:11 -05:00
Beman 6dcda67ed6 Specify font-family: "courier new", courier, serif; as it makes the Windows result prettier on all browsers tested (IE, Firefox, Chrome). 2015-02-12 17:57:05 -05:00
Beman c0fbae2d2a Wording tweaks from Rob Stewart. Modify styles.css for more uniform presentation across browsers. 2015-02-11 09:02:58 -05:00
Beman f184fd934e Add two FAQ entries in response to mini-review question from Rob Stewart. Add Ack names. Fix HTML boo boos. 2015-02-09 08:17:15 -05:00
Beman 09ead95d10 Add "Future directions" section. 2015-01-27 10:18:33 -05:00
Beman 2a4584a413 Add recommendation to protect against assignment ills, with example. 2015-01-26 09:16:41 -05:00
Beman 27a6d36327 Add "C++03 support for C++11 features" Section at the suggestion of Philip Bennefall. 2015-01-25 10:20:45 -05:00
Beman 512287dfa7 Clear some warnings in test programs. 2015-01-19 08:44:19 -05:00
Beman 3d814f4f52 Add docs for BOOST_ENDIAN_DEPRECATED_NAMES compatibility. Fix inspect issues. 2015-01-19 07:41:28 -05:00
Beman adee2fe513 Add support for deprecated names from pre-review releases. 2015-01-18 19:48:27 -05:00
Beman e9ae69f3d0 Don another pass through the docs. 2015-01-17 16:53:41 -05:00
Beman 35f4c47a22 Add endian_buffer stream inserter and extractor, beef up buffer_test a bit. 2015-01-17 10:25:29 -05:00
Beman 10bcb52d97 Add loop_time_test options 2015-01-15 09:17:31 -05:00
Beman 810f5453a6 Work-in-progress, including various bug fixes and doc updates. 2015-01-14 16:28:30 -05:00
Beman 321d5a087a For X86 and X64 architectures, which permit unaligned loads and stores, unaligned little endian buffer and arithmetic types use regular loads and stores when the size is exact. This makes unaligned little endian buffer and arithmetic types significantly more efficient on these architectures.(Pull request from Jeremy Maitin-Shepard) Docs updated, but timing results have not yet been updated. 2015-01-06 16:57:53 -05:00
Beman 0cdcb5f048 Rename build directory to benchmark so will not automatically be built by b2 in boost-root. 2015-01-05 07:16:49 -05:00
Beman c440b3b7da Update modification date. Explicit updated needed because of FrontPage bug. 2015-01-04 09:26:49 -05:00
Beman a32c13451b Remove Release History details that are already covered by Mini-review page. Add FAQ for C++03 compiler support. 2015-01-04 09:15:28 -05:00
Beman 08b5a27461 Add examples. 2015-01-04 09:13:15 -05:00
Beman 04d079fa61 Refactor "Choosing the approach" into its own page. It was dominating the main home page, yet is really a topic for study after other material is absorbed. 2015-01-02 10:46:53 -05:00
Beman ca8b904502 Minor edits. Update TOC. 2014-12-31 10:32:47 -05:00
Beman 48f7363cd7 Minor wording refinements. 2014-12-31 10:15:47 -05:00
Beman 4669f1b04b Add design patterns section 2014-12-31 09:57:16 -05:00