31 Commits

Author SHA1 Message Date
Robert Ramey 42a6cdd82b Regenerated Documentation.
Still pending - remove/remake concept SafeNumeric.
2021-05-16 18:49:31 -07:00
Robert Ramey ab13c7bed4 update documentation 2020-11-07 09:19:36 -08:00
Robert Ramey 75df037bc8 fixed various issues raised in mini-review.
a) streaming negative numbers into unsigned integers is now handled properly.
b) documentation improved/corrected to better show the relationship between policies and safe integer types
2020-10-16 21:16:26 -07:00
Robert Ramey 82d3be1cf4 documentation updates and corrections
due mostly to Andrzej Krzemieński
2020-10-14 06:11:35 -07:00
Robert Ramey 34d0a2196d corrected error in safe_range where by minimum was fixed a zero
Improved implementation/definition of error_policies
added test for custom error policy
changed documentation in accordance with the above.
2020-06-23 14:00:31 -07:00
Robert Ramey accdb4062b build documentation from latest boost book in preparation for checkin 2019-05-09 11:13:32 -07:00
Robert Ramey 273526b721 various documentation corrections 2019-03-10 12:18:42 -07:00
Robert Ramey dec518c4a9 Fixed Exception Policies for trap and ignore. 2019-02-24 09:54:13 -08:00
Robert Ramey a06d9f7a69 added constexpr tests to checked result operations
added tests for check result < and == operations
correct implementation of some checked result types
added constexpr example
2018-12-10 14:12:47 -08:00
Robert Ramey 992bd7b311 Changes generated by preparation for CPPCon 2018 2018-09-15 10:48:41 -07:00
Robert Ramey e26fb7fcee generated html and pdf documentation 2018-09-05 09:56:32 -07:00
Robert Ramey e68037cb32 Update documentation to address PRs
update appveyor/travis xml hoping they'll work
2018-08-14 16:46:19 -07:00
Robert Ramey 4e63548736 Refine embedded case study after running code on MPLab simulator 2018-08-10 13:07:38 -07:00
Robert Ramey b62ef86e28 Added case study for embedded system
corrections in cpp promotion
added make_safe_literal
separated integers from other types
dropped example91
updated CMakeLists.txt and Jamfile.v2 accordingly
2018-07-21 09:57:35 -07:00
Robert Ramey d8e3a5e0a8 build documentation 2018-04-24 21:48:33 -07:00
Robert Ramey 67a7eaa2ad Make checked<...> an arithmetic type
adjust rest of program accordingly
this should
a) factor casts out of checked operations and put them in safe_base_operations
b) simplify interval which will not explicitly check for overflows etc.

First milestone - make test_add_native pass all addition tests.
2017-11-07 09:57:09 -08:00
Robert Ramey 4153b7f58a Numerous changes to better handle floating point.
Turns out that these changes should also better position us to handle other underlying types - but we're not there yet.
Added example for composition with other types - example boost rational and boost multi precision
Added performance test using boost multi precision
Many other small corrections
2017-07-16 13:36:09 -07:00
Robert Ramey 2a09e21ffb merged in extensive changes which improve / correct exception policies and handling
and re-did that part of the documentation as well.
2017-06-03 14:38:38 -07:00
Robert Ramey 2d02afb145 fix some bugs in html documentation generation 2017-06-03 14:26:31 -07:00
Robert Ramey d0ca1634fc documentation updates inspired by ACCU Overload 2017-02-03 14:24:05 -08:00
Robert Ramey f6c1a06960 changes in response to article preparation for accuracy 2017-01-19 16:00:36 -08:00
Robert Ramey c56bdb5509 generated html documentation 2017-01-16 13:11:27 -08:00
Robert Ramey ecabaaaa76 updated sample for to illustrate safe numerics role in addressing a classic C++ problem 2016-11-07 14:47:40 -08:00
Robert Ramey 135fe9f1fd merged in changes from John MacFarlane
and documentation improvements from Andre ...
2016-09-08 21:57:15 -07:00
Robert Ramey 97100f96fe made adjustments to produce pdf documentation for both the package and the proposal 2016-08-24 11:22:48 -07:00
Robert Ramey 63dd89210e Enabled Boost Book syntax highlighting
improved TOC and chunking.  This is complicated by the fact we that we desire different depths.
put copies of boost logo in subdirectories
2016-02-07 14:38:06 -08:00
Robert Ramey 1bc0b94e65 changes to implement the following:
a) made trap_exception work
b) updated manual and examples to show how to use library to eliminate runtime penalty
c) added in safe_literal
d) made corrections of various types
2015-12-21 23:14:06 -08:00
Robert Ramey e37b89a969 misc corrections in documentation
preparation of proposal for standard library
2015-12-09 21:50:09 -08:00
Robert Ramey f7117e7cf3 improved look of documentation 2015-07-30 12:42:31 -07:00
Robert Ramey 6b6579d48c Updated documentation based on Damion's input 2015-06-17 11:25:28 -07:00
Robert Ramey 00e39147a4 Resolve problems with documentation
a) missing concepts
b) missing examples
c) rationalized types
2015-06-10 22:46:58 -07:00