insideoutclub
5fa28071b4
Update example84.cpp
2017-03-04 07:15:46 -08:00
insideoutclub
08e365bdbf
Update example7.cpp
2017-03-02 13:46:01 -08:00
insideoutclub
a05cdd7ea3
Update example13.cpp
2017-03-02 13:36:55 -08:00
insideoutclub
8fc48862e9
Update example6.cpp
2017-03-02 13:30:04 -08:00
insideoutclub
e07f254861
Update example4.cpp
2017-03-02 13:09:49 -08:00
insideoutclub
8b3769f1d7
Update example1.cpp
2017-03-02 12:58:36 -08:00
Robert Ramey
3bcfabe1ca
corrections to bit<T, N> and safe_literal - still need tests though
2017-02-12 22:07:40 -08:00
Robert Ramey
621d2cbe30
Rollin Andrzez's edits + miscellaneaous fixes
2017-01-20 23:22:44 -08:00
Robert Ramey
f6c1a06960
changes in response to article preparation for accuracy
2017-01-19 16:00:36 -08:00
Robert Ramey
80e17943ca
improved explanation of divide by zero
...
refined type requirements for integer vs numeric
fixed bugs in safe literal
added acknowledgement to documentation
2017-01-16 12:14:38 -08:00
Robert Ramey
a42dd28e2c
Cleaned up and simplified CMake files.
...
Tested with gcc 6.2 so now certified with clang and gcc versions which support C++14
2017-01-08 10:51:12 -08:00
Robert Ramey
434ce2cd05
added article for accuracy
...
fixed up CMake files so that they run from the command line
adjusted CMake files so that they exclude tests which can't be run
2017-01-07 22:04:14 -08:00
Robert Ramey
1d87675dfd
changed pdf file name in examples directory to satisfy appveyor
2017-01-01 16:08:55 -08:00
Robert Ramey
0079d39361
created submission for accu
...
factored out xml files into smaller pieces
2016-12-31 18:32:44 -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
John McFarlane
07b11f8ce9
add -std=c++14 to to compiler flags
...
- only tested with Clang 3.8 and GCC 5.4
2016-08-27 13:01:08 -07:00
John McFarlane
ad723636df
fixes case in #include directive
2016-08-27 13:01:08 -07:00
Robert Ramey
e5be7cb20a
adjustments to IDE layout
2016-04-19 21:23:19 -07:00
Robert Ramey
e709c9ead4
added CTestConfig.cmake to library root.
2016-04-19 13:30:44 -07:00
Robert Ramey
83bb543842
distributed CMake implementation
2016-04-19 11:40:20 -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
18ecefb095
Tests pass with gcc !!!
2016-01-12 22:30:16 -08:00
Robert Ramey
29cf7f3d12
progress on example 93 to demonstrate trapping all potential exceptions at compile time
...
removed constexpr from exception policies.
this eliminates obstacle to gcc compilation which doesn't support constexpr throw
unfortunately, all versions of gcc trip compiler fault so gcc not supported for now
safe_literal - make this an unsafe type since it doesn't have policies - this might change in the future
2016-01-11 11:01:15 -08:00
Robert Ramey
511046c972
fixed bitwise or / and
...
re fixed examples - still some checking to do
2016-01-09 22:37:57 -08:00
Robert Ramey
a98fdd1edb
corrected bitwise & operator
...
backed out some previous changes
2016-01-09 15:23:48 -08:00
Robert Ramey
01a3af5cc3
progress on case study on motor.c
...
added intersection to interval
improved
2016-01-04 10:06:43 -08:00
Robert Ramey
ced5ce83f4
implemented op= versions of binary operands
...
first cut of cpp example
fixed misc bugs
2015-12-31 15:14:29 -08:00
Robert Ramey
de48936d0e
fixed problems with bitwise and shift operations
...
diminished dependence on mpl::if and others
made progress on getting trap policy working better
2015-12-28 09:45:20 -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
cd620a8ec5
more complete documentation on eliminating runtime penalty
2015-12-17 17:46:05 -08:00
Robert Ramey
bce3a5536e
intermediate version
...
passes all tests
adds documentation of library internals
implements trap_exception for compile time guarantee for program correctness
still needs update to support the above for operations in addition to + and -
2015-12-15 10:21:08 -08:00
Robert Ramey
96f829bfe4
updates of manual and examples
2015-12-07 21:46:39 -08:00
Robert Ramey
82cb6e4b60
working on modulus
2015-11-15 20:24:17 -08:00
Robert Ramey
321c7bbba0
updated tests to be sure that n op safe<?> is covered -
2015-07-30 13:26:48 -07:00
Robert Ramey
0a5822c14d
working version of automatic promotion policy.
...
(right now - only working in addition!)
More examples
More complete documentation
pending issue - compile time trap
2015-07-29 13:55:57 -07:00
Robert Ramey
d33389c450
converted test_conversion to
...
test_construction
test_assignment
pending - make m_t private
eliminate redundant bounds checking
2015-06-28 21:24:04 -07:00
Robert Ramey
2a5c0e373c
test0 not working
...
example6 not working
2015-06-25 08:44:38 -07:00
Robert Ramey
2ebf9538d1
broke multiply and conversion
2015-06-23 15:16:04 -07:00
Robert Ramey
69d681727c
re-factored compare
...
updated test_compare
updated safe_compare.hp
2015-06-19 08:29:53 -07:00
Robert Ramey
f43dfc7b38
first version with working policies
...
promotion pollicy
exception policy
improved documentation
2015-06-08 15:43:23 -07:00
Robert Ramey
1e2016518e
fixed up examples
2014-06-15 10:30:11 -07:00
Robert Ramey
b9845327d1
eliminated redundant root directory
2013-11-04 11:44:56 -08:00