Sam Jaffe
|
40b329330a
fix: handle division error
|
2 years ago |
Sam Jaffe
|
de43c17254
Switch to static lib.
|
4 years ago |
Sam Jaffe
|
598cbbe846
bugfix: don't underflow for thousands separator for things with less than three digits to begin with.
|
4 years ago |
Sam Jaffe
|
718db62da5
Add some more formatting, including a truncation parameter
|
4 years ago |
Sam Jaffe
|
a700e39648
Add print options to biginteger and bigdecimal.
|
4 years ago |
Sam Jaffe
|
dec69ac344
Fix clang-format indents
|
4 years ago |
Sam Jaffe
|
e03d947e04
Add a number format feature to the to_string() functions.
|
4 years ago |
Sam Jaffe
|
99d12f1327
Add clang-format, move includes into proper directory, more settings changes
|
4 years ago |
Sam Jaffe
|
605502cab0
Update project settings.
|
4 years ago |
Sam Jaffe
|
be178d2fc8
Relocate test helper to right place.
|
5 years ago |
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 |