Samuel Jaffe
|
b08fa174bc
Fixing equals-one check.
|
8 年 前 |
Samuel Jaffe
|
a61d5838af
Reversing commit d586b8c
|
8 年 前 |
Samuel Jaffe
|
ee7077654f
I think that this properly handles the various multiplication cases... but I really ought to mathematically prove it (with test cases for enough possible combos).
|
8 年 前 |
Samuel Jaffe
|
3c3d0eeb5c
Adding new test cases.
|
8 年 前 |
Samuel Jaffe
|
ac7e0d0a4d
Fix rescaling bug to force lossyness.
|
8 年 前 |
Samuel Jaffe
|
686f869964
Adding division with initial test cases (not complete).
|
8 年 前 |
Samuel Jaffe
|
298547a054
Fixing bounds issue with negative numbers that use all 9 digits in the first cell.
|
8 年 前 |
Samuel Jaffe
|
ea28819179
Fixing bounds issue with negative numbers that use all 9 digits in the first cell.
|
8 年 前 |
Samuel Jaffe
|
0e25ad1a37
Fixing oob violations in detail::multiply and detail::subtract_nounderflow.
|
8 年 前 |
Samuel Jaffe
|
8dc64b50f3
Fixing oob violations in detail::multiply and detail::subtract_nounderflow.
|
8 年 前 |
Samuel Jaffe
|
a855123300
Fixing to_string output when scale is negative.
|
8 年 前 |
Samuel Jaffe
|
bb2144baf3
Initial commit of big decimal code, supporting +, -, *.
|
8 年 前 |
Samuel Jaffe
|
d586b8cf26
Adding offset handling to multiplication.
|
8 年 前 |
Samuel Jaffe
|
4f9108a734
Reducing code duplication in biginteger.
|
8 年 前 |
Samuel Jaffe
|
5173ebab09
Making shift10 work in both directions.
|
8 年 前 |
Samuel Jaffe
|
c3d890af78
Fixing bug with inner compare loop.
|
8 年 前 |
Samuel Jaffe
|
67269aec3d
Updating compare to take an offset number of cells.
|
8 年 前 |
Samuel Jaffe
|
bf155c29d6
Splitting out an add for just one element to make division create fewer vectors.
|
8 年 前 |
Samuel Jaffe
|
6737f6b06e
Injecting an offset parameter into addition and subtraction.
|
8 年 前 |
Samuel Jaffe
|
ca146022fe
Moving helper functions in detail to a separate source file.
|
8 年 前 |
Samuel Jaffe
|
e4bf27d708
Combining integral constructors for biginteger.
|
8 年 前 |
Samuel Jaffe
|
09324c512f
Make modulo happen 'in-place'.
|
8 年 前 |
Samuel Jaffe
|
ef70f4888e
Making operators / and % take rhs by value, to optimize chained operations.
|
8 年 前 |
Samuel Jaffe
|
dd4812d507
Making operator* take rhs by value to optimize chaining.
|
8 年 前 |
Samuel Jaffe
|
b0db727c7d
Marking +/- as taking rhs by value. This optimizes chaining operations (A+B+C+D+...).
|
8 年 前 |
Samuel Jaffe
|
b3139e0768
Adding modulo operator.
|
8 年 前 |
Samuel Jaffe
|
97bb254dc6
Use domain_error for DIV/0
|
8 年 前 |
Samuel Jaffe
|
5573a74602
Adding other comparison functions.
|
8 年 前 |
Samuel Jaffe
|
9cc561ad19
Adding division using the multiply-and-subtract method.
|
8 年 前 |
Samuel Jaffe
|
fc5c2fc543
Adding string constructor for things that are completely out of bounds.
|
8 年 前 |