Commit Graph

343 Commits

Author SHA1 Message Date
insideoutclub
5fa28071b4 Update example84.cpp 2017-03-04 07:15:46 -08:00
insideoutclub
a4753e2401 Update eliminate_runtime_penalty.xml 2017-03-04 06:42:23 -08:00
insideoutclub
08e365bdbf Update example7.cpp 2017-03-02 13:46:01 -08:00
insideoutclub
a001df0c15 Update tutorial.xml 2017-03-02 13:42:44 -08:00
insideoutclub
a05cdd7ea3 Update example13.cpp 2017-03-02 13:36:55 -08:00
insideoutclub
af51dbe585 Update tutorial.xml 2017-03-02 13:33:50 -08:00
insideoutclub
8fc48862e9 Update example6.cpp 2017-03-02 13:30:04 -08:00
insideoutclub
d9fe05b7c5 Update tutorial.xml 2017-03-02 13:29:02 -08:00
insideoutclub
e07f254861 Update example4.cpp 2017-03-02 13:09:49 -08:00
insideoutclub
78a52fce00 Update tutorial.xml 2017-03-02 13:09:08 -08:00
insideoutclub
8b3769f1d7 Update example1.cpp 2017-03-02 12:58:36 -08:00
insideoutclub
82e4ad1d40 Update tutorial.xml 2017-03-02 12:01:27 -08:00
insideoutclub
039d2a58e3 Update safe_introduction.xml 2017-03-02 11:49:14 -08:00
insideoutclub
1d283ac69e Update README.md
Fixed some typos.
2017-03-02 11:27:13 -08:00
Robert Ramey
1d7712e1b7 reconciliation between examples and documentation 2017-02-26 11:20:10 -08:00
Robert Ramey
6a0604190a enhanced return type checking for non-mutable unary operators
minor corrections in documentation
update appveyor.yml in yet another attempt to make this work
2017-02-14 10:22:50 -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
d6b323c23f next round of changes for overload article 2017-02-04 14:50:32 -08:00
Robert Ramey
d0ca1634fc documentation updates inspired by ACCU Overload 2017-02-03 14:24:05 -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
4ab559c086 appveyor script update 2017-01-16 13:45:34 -08:00
Robert Ramey
c56bdb5509 generated html documentation 2017-01-16 13:11:27 -08:00
Robert Ramey
13dfc3d5f8 attempt to make appveyor script work 2017-01-16 13:04:55 -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
904eb68aa9 appveyor update 2017-01-08 14:28:28 -08:00
Robert Ramey
e30d0735bc update appveyor file 2017-01-08 14:16:24 -08:00
Robert Ramey
e4dfff83dd appveyor update 2017-01-08 14:03:52 -08:00
Robert Ramey
c0ddfe175c attempt to make appveyor script work 2017-01-08 12:27:05 -08:00
Robert Ramey
595254bb63 corrections to appveyor file 2017-01-08 12:14:22 -08:00
Robert Ramey
e030095265 Initial attempt to use appveyor to run windows tests 2017-01-08 12:08:04 -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
c59f8b3d2b minor changes and experiments to attempt to make dispatch on constexpr - failed. 2017-01-01 10:05:19 -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
Robert Ramey
7ee656ecdf fixed problem which originates in std::numeric_limits<float> and std::numeric_limits<double>
turns that std::numeric_limits<float> has the smallest value (nearest to zero) while when
we say min - we want the most negative value.  Fixed by specialize interval<R> implementation
for floats and doubles
2016-09-10 11:03:50 -07: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
2eba250ddd Merge commit '4412435dd6bfdb5297734d49608f2d01a33730eb' into develop 2016-09-08 21:36:37 -07:00
Robert Ramey
6ef80f9245 Merge branch 'develop' of https://github.com/robertramey/safe_numerics into develop 2016-09-08 21:35:35 -07:00
Robert Ramey
4412435dd6 Merge pull request #9 from akrzemi1/patch-2
Small doc typeos
2016-09-08 21:33:04 -07:00
Robert Ramey
aa81803fd7 Merge pull request #10 from akrzemi1/patch-3
docs: unsigned overflow is not UB
2016-09-08 21:32:42 -07:00
Robert Ramey
e34998d1cf Merge pull request #12 from johnmcfarlane/fixed_point
Changes necessary to integrate safe_numerics with johnmcfarlane/fixed_point
2016-09-08 21:31:38 -07:00
John McFarlane
0230b9695d changes std::numeric_limits from class to struct
- avoids irksome Clang warning, 'mismatched-tags'
2016-08-27 13:01:08 -07:00
John McFarlane
4dd06dc866 removes unused aliases 2016-08-27 13:01:08 -07:00
John McFarlane
c77b1c73c0 fixes operator precedence error 2016-08-27 13:01:08 -07:00
John McFarlane
019c2e90ad fixes compiler warning 2016-08-27 13:01:08 -07: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