|
@@ -12,7 +12,7 @@
|
|
|
namespace math { namespace detail {
|
|
namespace math { namespace detail {
|
|
|
using data_type = std::vector<int32_t>;
|
|
using data_type = std::vector<int32_t>;
|
|
|
// 1 => GREATER, 0 => EQUAL, -1 => LESS
|
|
// 1 => GREATER, 0 => EQUAL, -1 => LESS
|
|
|
- int compare(data_type const & rhs, data_type const & lhs);
|
|
|
|
|
|
|
+ int compare(data_type const & rhs, data_type const & lhs, size_t offset = 0);
|
|
|
void add(data_type & rhs, data_type const & lhs, size_t offset = 0);
|
|
void add(data_type & rhs, data_type const & lhs, size_t offset = 0);
|
|
|
void subtract_nounderflow(data_type & rhs, data_type const & lhs, size_t offset = 0);
|
|
void subtract_nounderflow(data_type & rhs, data_type const & lhs, size_t offset = 0);
|
|
|
void multiply(data_type & rhs, data_type const & lhs);
|
|
void multiply(data_type & rhs, data_type const & lhs);
|