Commit Graph

5 Commits

Author SHA1 Message Date
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
88519fbcdc forgot to include new files motor_test1.c, motor_test2.c, motor_test3.c 2018-07-21 09:59:33 -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
86910466a8 Intermediate working version
Making way for checked_float, checked_money, etc

a) factoring checked into checked_integer etc.
b) moved some tests from test_z to official tests
c) added test_rational which tests interoperability with boost::rational
d) moved safe_range to safe_integer_range
2017-07-08 12:48:37 -07:00
Robert Ramey
67bc38ac62 added example based on rational.hpp
used enable_if on checked functions to pave the way for other checked implementations
2017-06-27 22:56:11 -07:00