Samuel Jaffe
|
ac7e0d0a4d
Fix rescaling bug to force lossyness.
|
hace 8 años |
Samuel Jaffe
|
686f869964
Adding division with initial test cases (not complete).
|
hace 8 años |
Samuel Jaffe
|
ea28819179
Fixing bounds issue with negative numbers that use all 9 digits in the first cell.
|
hace 8 años |
Samuel Jaffe
|
8dc64b50f3
Fixing oob violations in detail::multiply and detail::subtract_nounderflow.
|
hace 8 años |
Samuel Jaffe
|
a855123300
Fixing to_string output when scale is negative.
|
hace 8 años |
Samuel Jaffe
|
bb2144baf3
Initial commit of big decimal code, supporting +, -, *.
|
hace 8 años |
Samuel Jaffe
|
d586b8cf26
Adding offset handling to multiplication.
|
hace 8 años |
Samuel Jaffe
|
4f9108a734
Reducing code duplication in biginteger.
|
hace 8 años |
Samuel Jaffe
|
5173ebab09
Making shift10 work in both directions.
|
hace 8 años |
Samuel Jaffe
|
c3d890af78
Fixing bug with inner compare loop.
|
hace 8 años |
Samuel Jaffe
|
67269aec3d
Updating compare to take an offset number of cells.
|
hace 8 años |
Samuel Jaffe
|
bf155c29d6
Splitting out an add for just one element to make division create fewer vectors.
|
hace 8 años |
Samuel Jaffe
|
6737f6b06e
Injecting an offset parameter into addition and subtraction.
|
hace 8 años |
Samuel Jaffe
|
ca146022fe
Moving helper functions in detail to a separate source file.
|
hace 8 años |
Samuel Jaffe
|
e4bf27d708
Combining integral constructors for biginteger.
|
hace 8 años |
Samuel Jaffe
|
09324c512f
Make modulo happen 'in-place'.
|
hace 8 años |
Samuel Jaffe
|
ef70f4888e
Making operators / and % take rhs by value, to optimize chained operations.
|
hace 8 años |
Samuel Jaffe
|
dd4812d507
Making operator* take rhs by value to optimize chaining.
|
hace 8 años |
Samuel Jaffe
|
b0db727c7d
Marking +/- as taking rhs by value. This optimizes chaining operations (A+B+C+D+...).
|
hace 8 años |
Samuel Jaffe
|
b3139e0768
Adding modulo operator.
|
hace 8 años |
Samuel Jaffe
|
97bb254dc6
Use domain_error for DIV/0
|
hace 8 años |
Samuel Jaffe
|
5573a74602
Adding other comparison functions.
|
hace 8 años |
Samuel Jaffe
|
9cc561ad19
Adding division using the multiply-and-subtract method.
|
hace 8 años |
Samuel Jaffe
|
fc5c2fc543
Adding string constructor for things that are completely out of bounds.
|
hace 8 años |
Samuel Jaffe
|
0fd7aabb24
Use size_t explicitly instead of data_type::size_type.
|
hace 8 años |
Samuel Jaffe
|
4ab111f25f
Fix pop-back when no overflow occurs in multiplication.
|
hace 8 años |
Samuel Jaffe
|
c0445f468e
Adding A*B operations.
|
hace 8 años |
Samuel Jaffe
|
27ae458c19
Adding A-B operation, and tests
|
hace 8 años |
Samuel Jaffe
|
7d80393dce
Starting design of big integer class.
|
hace 8 años |
Samuel Jaffe
|
5cb1b5f8d5
Initializing repository with ignore lists: [ C++ ]
|
hace 8 años |