Commit graph

  • eae5cd0a46 potentinal fix for './decimal_test.go:261:6: d declared but not used' error thrown by the tip version Travis CI tests + corrected comment in decimal.go Ian Norden 2018-06-07 23:50:13 -0500
  • d355ec5f8f tan method and test Ian Norden 2018-06-07 16:53:41 -0500
  • 0f5311b5a5 added tests for atan, sin, and cos Ian Norden 2018-06-07 16:30:11 -0500
  • c9191ff1b7 added sin and cos methods Ian Norden 2018-06-07 16:29:55 -0500
  • 784aca19a5
    Merge 059bf34e95 into 19e3cb6c29 Phillip 2018-06-07 17:58:14 +0000
  • 19e3cb6c29 add functions IsPositive, IsNegative and IsZero (#88) José David Arévalo 2018-06-07 09:48:47 -0500
  • b63965d701 Added Atan method Ian Norden 2018-06-06 23:11:29 -0500
  • b2abca8386
    Merge pull request #1 from basset-la/marshal Juan Torello 2018-06-05 15:18:40 -0300
  • 49149973a4 fix marshal Ezequiel Rozen 2018-06-05 15:10:27 -0300
  • 059bf34e95 Add BSON marshalling Phillip Dominy 2018-04-22 16:31:26 -0400
  • e5961e7a03 add functions IsPositive, IsNegative and IsZero jdaarevalo 2018-03-22 09:04:48 -0500
  • 2df3e6ddaf Add support for shifting in base 10 (#86) Steven Roose 2018-03-19 18:08:23 +0100
  • 798829999b Add support for shifting in base 10 Steven Roose 2018-03-16 11:01:08 +0100
  • 69b3a8ad1f RequireFromString (#73) v1.0.1 Randy Pensinger 2018-03-01 13:32:36 -0800
  • ca6009d707 Testing Float64 (#82) Igor Mikushkin 2018-03-02 01:31:53 +0400
  • 2c803ad6e9
    Merge branch 'master' into test-tofloat64 Victor Quinn 2018-03-01 16:31:42 -0500
  • 78e9b82f68 Exact representation in NewFromFloat (#78) Igor Mikushkin 2018-03-02 01:29:43 +0400
  • bf9a39e28b Addressing rounding and overflow issues in NewFromFloatWithExponent (#77) Igor Mikushkin 2018-03-02 01:29:13 +0400
  • 4c20285417 No longer trim trailing zeroes during initialization. This ensures the precision is always retained. Joseph Dallago 2018-02-28 17:45:29 +0000
  • 1324f127d8 Float64: adding tests Igor Mikushkin 2018-01-28 03:02:29 +0400
  • 883a2a2338 Subnormal test added Igor Mikushkin 2018-01-28 01:49:33 +0400
  • e3482495ff Added ensureInitialized() to the Neg() method (#80) ivahaev 2018-01-27 02:25:43 +0500
  • 2f94466a36 Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-26 12:35:27 +0400
  • b83cad237e NewFromFloatWithExponent: optimizations Igor Mikushkin 2018-01-26 12:34:01 +0400
  • 575e425d98 TestDecimal_NegFromEmpty added Evgeniy Ivakha 2018-01-26 13:17:08 +0500
  • d56b6bb196 Added ensureInitialized to the Neg() method, because it can panic when d.value is nil Evgeniy Ivakha 2018-01-26 13:09:52 +0500
  • 09714228f3 Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-26 11:10:32 +0400
  • 6800d966f3 NewFromFloatWithExponent: optimizations Igor Mikushkin 2018-01-26 11:10:20 +0400
  • 2d3d34026a Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-25 00:49:24 +0400
  • ac6e4bf665 NewFromFloatWithExponent: optimization and some documentation Igor Mikushkin 2018-01-24 23:48:26 +0400
  • 419819b92a NewFromFloat: documentation update Igor Mikushkin 2018-01-24 13:41:49 +0400
  • a06213c027 Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-24 13:34:32 +0400
  • a748813db3 NewFromFloatWithExponent: just a few additional test cases Igor Mikushkin 2018-01-24 13:33:53 +0400
  • f1fe54c644 Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-24 13:29:42 +0400
  • 70b33acdfa NewFromFloatWithExponent: subnormals support Igor Mikushkin 2018-01-24 13:22:19 +0400
  • d9da2db93e Merge branch 'master' into exact-from-float Igor Mikushkin 2018-01-23 23:26:03 +0400
  • 6714c312ea Addressing special meaning of zero exponent in float64 Igor Mikushkin 2018-01-23 23:25:23 +0400
  • 8e671a61e2 Fast path in FromFloat is unreliable, fixing it Igor Mikushkin 2018-01-23 23:19:46 +0400
  • 50990327ab Adding breaking test for NewFromFloat Igor Mikushkin 2018-01-23 23:04:58 +0400
  • d36d4b85e1 Exact float representation in FromFloat Igor Mikushkin 2018-01-23 19:47:05 +0400
  • c9b3cc0016 Tests for exact float representation added Igor Mikushkin 2018-01-23 19:43:38 +0400
  • 325826bf9c Improving FromFloatWithExponent Igor Mikushkin 2018-01-23 18:39:07 +0400
  • 60845b3fe6 removing unused code Igor Mikushkin 2018-01-23 03:52:38 +0400
  • 59c919e219 Naming cosmetic correction Igor Mikushkin 2018-01-23 02:42:38 +0400
  • ee0b9d9901 Addressing tests for NewFromFloatWithExponent Igor Mikushkin 2018-01-22 21:58:02 +0400
  • 0853927628 Additional (and some breaking) tests for NewFromFloatWithExponent Igor Mikushkin 2018-01-22 21:53:05 +0400
  • a76a8bf60b Fix broken RoundBank func in #75 (#76) Chad Gilbert 2018-01-18 17:52:17 -0500
  • 7746b571ff Fix broken RoundBank func in #75 Chad Gilbert 2018-01-18 17:00:40 -0500
  • 8dffa2b7c7 format usage code in README (#70) Zheng Dayu 2018-01-02 13:16:03 -0600
  • 629f4a8a09 RequireFromString Randy Pensinger 2017-12-29 22:15:54 -0800
  • 78f7aaad90 format usage code in README ceshihao 2017-11-27 12:14:25 +0800
  • 9ca7f51822 Fix Floor() and Ceil() for integer values (#64) v1.0.0 tbrs 2017-11-09 01:52:54 +0300
  • 0d26a67e22 Fix Floor() and Ceil() for integer values tbrs 2017-10-18 21:40:28 +0200
  • faaed5fca7 Implement Swedish/Cash rounding fixes #63 (#66) Cyrill Schumacher 2017-10-20 16:00:25 +0200
  • 5f1ef3899d Implement Swedish/Cash rounding fixes #63 Cyrill Schumacher 2017-10-20 07:59:52 +0200
  • c6ebc64c22 removing unncesesary logic Juan Torello 2017-10-19 10:24:15 -0300
  • f7c32cac23 adding dynamodbattribute.Unmarshaler and dynamodbattribute.Marshaler implementations Juan Torello 2017-10-19 10:11:59 -0300
  • ad668bb369 Added JSON support for NullDecimal (#62) MOZGIII 2017-10-11 01:21:51 +0900
  • c11b4583a2 Fixed mistakes in tests MOZGIII 2017-10-10 19:14:50 +0300
  • 146c0f4097 Added tests for JSON operations on NullDecimal MOZGIII 2017-10-10 19:12:13 +0300
  • 357a398d89 Added UnmarshalJSON and MarshalJSON support for NullDecimal MOZGIII 2017-10-10 12:03:14 +0300
  • 041fb61cd9 Corrected NullDecimal comment MOZGIII 2017-10-10 18:57:47 +0300
  • aed1bfe463 Added Banker Rounding (#61) Rigel 2017-09-11 08:58:34 -0400
  • 87ec586884 added banker rounding and tests (RoundBank, StringFixedBank) rigelrozanski 2017-09-11 01:59:23 -0400
  • 5c3ae80b1c made GTE/GT/LT/LTE go-lint compliant rigelrozanski 2017-09-10 23:48:14 -0400
  • 730de27aa5 Suggesting Sum and Avg methods (provided unit tests), recommending removing val2 from for range loops in TestBinary & TestGobEncode (#60) Dan Mayor 2017-09-05 09:57:20 -0400
  • 79488237be Suggesting Sum and Avg methods (provided unit tests), recommending removing val2 from for range loops in TestBinary & TestGobEncode Dan Mayor 2017-09-02 18:19:21 -0400
  • f925e9bf6a Merge 080be114dd into b9ab2bce74 Connor Peet 2017-08-16 02:25:47 +0000
  • b9ab2bce74 Add null support to UnmarshalJSON (#58) klokare 2017-08-16 04:25:21 +0200
  • b3191d998b Add null support to UnmarshalJSON klokare 2017-08-15 06:21:14 +0200
  • 3c692774ac Added NewFromBigInt constructor & unit test (#56) Matthew Lane 2017-07-28 14:12:53 -0500
  • bba06da9ab Added NewFromBigInt constructor & unit test brobits 2017-07-28 11:23:24 -0500
  • b2bc88cdfa Merge a7a4278c0a into 16a9418214 James Maloney 2017-05-17 22:12:41 +0000
  • 657b296762 Merge 25f639b9c8 into 16a9418214 Ulises Flynn 2017-05-17 22:12:41 +0000
  • 16a9418214 added GT, GTE, LT, LTE (#54) Rigel 2017-05-18 00:01:17 +0200
  • 950a0ced8d GTE -> GreaterThanOrEqual rigel rozanski 2017-05-17 15:51:13 -0400
  • 98d65af965 added GT, GTE, LT, LTE rigel rozanski 2017-05-17 15:03:58 -0400
  • d5fda14026 Defensive Copy on Coefficient (#52) mattdee123 2017-05-17 10:58:21 -0400
  • 09375ff73b Defensive Copy on Coefficient Matt Dee 2017-05-17 10:53:42 -0400
  • 3868940cdd Fix GobDecode (#51) Bastien Gysler 2017-05-09 14:51:20 +0200
  • 609003a651 Fix GobDecode Bastien 2017-05-09 14:07:24 +0200
  • 3526cd0bdb Added negative pow test Jason Biegel 2017-02-23 11:50:30 -0500
  • 4b9150b187 Add Neg method (#48) Evan Shaw 2017-02-22 07:39:36 +1300
  • 77e6b496f6 Fix same issue as #39 but without changing the Value() interface Victor Quinn 2017-02-21 13:34:52 -0500
  • ed31524af4 Add GobEncode and GobDecode, fixes the issue raised in #23 but with Marshal/UnmarshalBinary Victor Quinn 2017-02-21 13:23:18 -0500
  • 15474de08e Binary Marshalling Support (#49) klokare 2017-02-20 16:31:54 +1300
  • a950f1305d Binary Marshalling Support klokare 2017-02-20 12:11:07 +1300
  • 54d2508e0e Add Neg method Evan Shaw 2017-02-17 13:04:02 +1300
  • 4570ccd0d5 Merge pull request #38 from edsrzf/sign Victor Quinn 2017-02-15 21:22:53 -0500
  • 4ec03b4267 gofmt -s decimal_test.go Victor Quinn 2017-02-15 19:08:34 -0500
  • d48ced5acf Fix some grammar, go vet issues Victor Quinn 2017-02-15 19:06:17 -0500
  • abf4647f0d Fix misspellings Victor Quinn 2017-02-15 19:03:27 -0500
  • 9f5251621e Back out travis lint as it breaks old versions of go Victor Quinn 2017-02-15 18:59:22 -0500
  • 2aa9963045 Pass lint, add travis stuff to run golint Victor Quinn 2017-02-15 18:55:38 -0500
  • 868a37b979 Increase test coverage a bit Victor Quinn 2017-02-15 18:47:03 -0500
  • de8af6d48f Merge pull request #42 from chrisguiney/expose-coefficient Victor Quinn 2017-02-15 17:39:50 -0500
  • c0815674f8 Merge pull request #32 from craigjackson/null_decimal Victor Quinn 2017-02-15 17:37:35 -0500
  • 2fa9cdfb3a Merge 5b7aa6a9cf into f37fa05388 klokare 2017-02-15 17:27:07 +0000
  • f37fa05388 Merge pull request #46 from njason/master Victor Quinn 2017-02-15 12:26:51 -0500
  • 4e5e2ed948 Remove insignificant digits during string parsing Jason Biegel 2017-02-07 12:33:26 -0500