Commit History

Autor SHA1 Mensaxe Data
  Sam Jaffe a700e39648 Add print options to biginteger and bigdecimal. %!s(int64=4) %!d(string=hai) anos
  Sam Jaffe e03d947e04 Add a number format feature to the to_string() functions. %!s(int64=4) %!d(string=hai) anos
  Sam Jaffe 99d12f1327 Add clang-format, move includes into proper directory, more settings changes %!s(int64=4) %!d(string=hai) anos
  Sam Jaffe df9da20f73 Fix bug where comparisons for operator==, etc were inverted (e.g. < was >, but == was still ==) %!s(int64=7) %!d(string=hai) anos
  Sam Jaffe 10722b64d0 Fix bug in bigdecimal constructor for >9 digits after the decimal point %!s(int64=7) %!d(string=hai) anos
  Sam Jaffe bf8f524dfb Fix bug with rescaling %!s(int64=7) %!d(string=hai) anos
  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. %!s(int64=7) %!d(string=hai) anos
  Sam Jaffe 097d356053 More test magic. Fixing bug in rescaling %!s(int64=7) %!d(string=hai) anos
  Sam Jaffe 43ca1aab4f Since the bigdecimal tests for int values are largely identical to the ones for biginteger, combine them as a typed test. %!s(int64=7) %!d(string=hai) anos
  Samuel Jaffe 3d7a2065a9 Adding other comparison operators. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe fb182cf808 Fixing operator equals %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe c122c8ff1e Fixing division. Cleaning up multiplication code. Using getter functions where appropriate. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe 9edde52a47 Fixing multiplication and to_string. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe b08fa174bc Fixing equals-one check. %!s(int64=8) %!d(string=hai) anos
  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). %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe 3c3d0eeb5c Adding new test cases. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe ac7e0d0a4d Fix rescaling bug to force lossyness. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe 686f869964 Adding division with initial test cases (not complete). %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe a855123300 Fixing to_string output when scale is negative. %!s(int64=8) %!d(string=hai) anos
  Samuel Jaffe bb2144baf3 Initial commit of big decimal code, supporting +, -, *. %!s(int64=8) %!d(string=hai) anos