Sam Jaffe
|
6b652d705b
Update to XCode 10
|
6 years ago |
Sam Jaffe
|
7e2262e806
Update XCode settings.
|
6 years ago |
Sam Jaffe
|
f942742920
Merge branch 'decimal'
|
7 years ago |
Sam Jaffe
|
bbe1744b14
Export bigdecimal.h properly.
|
7 years ago |
Sam Jaffe
|
28db841237
Fixing test printers.
|
7 years ago |
Sam Jaffe
|
df9da20f73
Fix bug where comparisons for operator==, etc were inverted (e.g. < was >, but == was still ==)
|
7 years ago |
Sam Jaffe
|
10722b64d0
Fix bug in bigdecimal constructor for >9 digits after the decimal point
|
7 years ago |
Sam Jaffe
|
bf8f524dfb
Fix bug with rescaling
|
7 years ago |
Sam Jaffe
|
479abfad73
Fixing bug when performing division with a number of the form '0.*'
|
7 years ago |
Sam Jaffe
|
5e5345b1f7
Fixing bug where we pushed the numbers forward, causing them to be 1,000,000,000^diff times as large as appropriate.
|
7 years ago |
Sam Jaffe
|
097d356053
More test magic. Fixing bug in rescaling
|
7 years ago |
Sam Jaffe
|
f713c2b5c4
Add coverage for those last few hard-to-get places.
|
7 years ago |
Sam Jaffe
|
df50539f37
Fix bug in math::biginteger::operator-=
|
7 years ago |
Sam Jaffe
|
3afa6a13dd
Breaking up final test in BigDecimalTest
|
7 years ago |
Sam Jaffe
|
2818bd62d2
Renaming test type
|
7 years ago |
Sam Jaffe
|
43ca1aab4f
Since the bigdecimal tests for int values are largely identical to the ones for biginteger, combine them as a typed test.
|
7 years ago |
Sam Jaffe
|
ae88848432
Some formatting things
|
7 years ago |
Sam Jaffe
|
dc784283ab
Convert to using GoogleMock for testing
|
7 years ago |
Sam Jaffe
|
fc1b655b75
Adding tests for bigdecimal using integer values
|
7 years ago |
Samuel Jaffe
|
6ca1a140ca
Removing unused shift10 export.
|
8 years ago |
Samuel Jaffe
|
3d7a2065a9
Adding other comparison operators.
|
8 years ago |
Samuel Jaffe
|
fb182cf808
Fixing operator equals
|
8 years ago |
Samuel Jaffe
|
c122c8ff1e
Fixing division. Cleaning up multiplication code. Using getter functions where appropriate.
|
8 years ago |
Samuel Jaffe
|
9edde52a47
Fixing multiplication and to_string.
|
8 years ago |
Samuel Jaffe
|
b08fa174bc
Fixing equals-one check.
|
8 years ago |
Samuel Jaffe
|
a61d5838af
Reversing commit d586b8c
|
8 years ago |
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 years ago |
Samuel Jaffe
|
3c3d0eeb5c
Adding new test cases.
|
8 years ago |
Samuel Jaffe
|
ac7e0d0a4d
Fix rescaling bug to force lossyness.
|
8 years ago |
Samuel Jaffe
|
686f869964
Adding division with initial test cases (not complete).
|
8 years ago |