cppdoubles has migrated its C++ dependency from cpp11 to cppally.
Major speed improvements to most functions through the use of parallelisation and compiler optimisations.
New functions get_threads and set_threads for getting and setting
threads for parallel computation.
double_equal now always returns TRUE when equality is exact,
even when tolerance is negative.
get_tolerance and set_tolerance as helpers to get/set the package-wide
tolerance.
New argument scale added to rel_diff to allow users to optionally
specify a scale for each relative difference.
tol now uses get_tolerance().Inlined most of the simple C++ functions which provides some moderate speed improvements.
Some C++ functions were returning double when they should return bool. This has now been fixed.
rel_diff(0, 0) now correctly returns 0New function all_equal as an efficient alternative to all.equal for numeric vectors.
NA values are now returned when tol is NA.