Commit Graph

12 Commits

Author SHA1 Message Date
Robert Ramey
56e08ca37d address misc errors which are only showing with clang
specify template stack depth
2018-12-11 15:48:55 -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
899e5c1b48 removed dependency on boost preprocessor
removed last dependency on boost mpl
2018-11-23 15:40:44 -08:00
Robert Ramey
0e25e2095b alter directory structure to comply with boost requirements 2018-08-16 11:03:38 -07:00
Robert Ramey
0d443e3a6f alterations to accomodate VS 2017
currently passes all tests and examples on Clang, gcc and mdvc with C++14
2018-04-23 10:22:34 -07:00
Robert Ramey
0ff8bb9ceb Passing all tests.
checked integer arithmetic type working.
2018-03-22 10:12:39 -07:00
Robert Ramey
1490e9fe57 refactored to implement checked_result arithmetic - still some tests to fix 2018-03-13 15:04:16 -07:00
Robert Ramey
d2804897f2 Add test for int 0 to test cases.
Note: it might a good idea to add unsigned int 0 as well as promotion rules are different for these two types
2017-06-05 10:39:51 -07:00
Robert Ramey
3794a5517f Implement correctly ranged return types from safe operations. Before, anything checked at runtime returned the whole range for the underlying variable.
Still pending and, or and xor operations
2017-04-04 08:57:02 -07:00
Robert Ramey
82cb6e4b60 working on modulus 2015-11-15 20:24:17 -08:00
Robert Ramey
7af42f2765 resolved division 2015-11-04 21:26:07 -08:00
Robert Ramey
5ed3f3a945 attempt to get division with automatic type promotion working 2015-09-05 17:16:19 -07:00