Commit graph

  • 225770c051
    Merge af136c8569 into a1bdfc355e Chad Skeeters 2024-11-11 16:30:41 +0000
  • af136c8569
    Updates MarshalYAML interface to use 'any' Chad Skeeters 2024-11-11 10:30:39 -0600
  • f20d7c4b90
    Updates comment to comply with go doc Chad Skeeters 2024-11-11 10:30:00 -0600
  • 161f04f87d Adds MarshalYAML for marshaling yaml Chad Skeeters 2024-11-04 08:45:51 -0600
  • c2735d73b8
    Merge 1b31f22216 into a1bdfc355e yijiong 2024-08-07 02:14:10 +0000
  • 1b31f22216
    fix: NewFromFloat(1.1001).RoundHalfDown(2).String() // output: 1.10 yijiong 2024-08-07 10:14:07 +0800
  • 139adc7a84
    Merge 6eb5468c62 into a1bdfc355e Elias Van Ootegem 2024-07-23 15:07:18 +0000
  • 6eb5468c62
    fix: increase default precision to 18 decimals to match precision of assets like ETH Elias Van Ootegem 2024-07-23 15:58:20 +0100
  • d407fd253f
    fix: increase default exponent precision to 18, as assets like ETH have 18 decimal places Elias Van Ootegem 2024-07-23 15:48:02 +0100
  • 54e62db847 feat: RoundHalfTowardZero() yzy613 2024-07-18 21:11:12 +0800
  • 840ef45ca8 feat: RoundHalfUp() and RoundHalfDown() yzy613 2024-07-18 20:08:15 +0800
  • 16d31c05fc Merge branch 'master' of github.com:shopspring/decimal Jeff Aronhalt 2024-06-11 14:01:12 -0700
  • 26503cb763
    move some trig constants out of functions langurs 2024-05-30 08:45:32 -0400
  • 3c5c74ecd2
    Update decimal.go; moved trig functions to separate file langurs 2024-05-30 08:43:19 -0400
  • 0fb464810d add StringTrimZeros Hubert Krauze 2022-12-15 20:31:37 +0100
  • 2df45449a2 change go.mod marcos.lehmkuhl 2022-12-09 16:07:43 -0300
  • 78fabd77da String() trailing zeros as package configuration marcos.lehmkuhl 2022-12-09 15:57:36 -0300
  • 08c7c48074
    Merge e5ee5e5502 into a1bdfc355e corelmax 2024-05-08 21:17:10 +0800
  • 272771bd2c
    Merge cd5465e26b into a1bdfc355e Ali J. Alaee 2024-05-08 21:17:10 +0800
  • 661f71ebe2
    Merge 86c2d2acf2 into a1bdfc355e piyongcai 2024-05-08 21:17:10 +0800
  • 03084ff1ec
    Merge 81b6afad9b into a1bdfc355e Sofya Mikhaylova 2024-05-08 21:17:10 +0800
  • 50ff906d51
    Merge 5d3a9828f2 into a1bdfc355e Hassan Aminfar 2024-05-08 21:17:10 +0800
  • 34e25a494f
    Merge aa8a681072 into a1bdfc355e kempeng 2024-04-25 00:14:50 +0200
  • 09b1583dbb
    Merge 67840ae46e into a1bdfc355e Y.Horie 2024-04-23 19:38:57 +0900
  • 67840ae46e Implement fmt.Formatter u5surf 2024-04-23 17:12:14 +0900
  • 515d14bed8
    Merge c31da0254a into a1bdfc355e Jim McDonald 2024-04-23 13:21:01 +0900
  • 632ffa9b4c
    Merge aa070c4ec8 into a1bdfc355e Leo 2024-04-22 15:42:55 +0200
  • 3e98035865
    Merge 6e8c4f56de into a1bdfc355e piyongcai 2024-04-20 22:17:35 +0800
  • fee0dd4877
    Merge afac94241f into a1bdfc355e Elirehema Paul 2024-04-19 18:00:18 -0400
  • 0d26413f27
    Merge 04b54abf9e into a1bdfc355e cdpzyafk 2024-04-18 11:59:29 +0200
  • 335e0890bd
    Merge a3267013b7 into a1bdfc355e Lanre Ade 2024-04-13 18:43:13 +0800
  • 2619ecc38e
    Merge 6e54f647f0 into a1bdfc355e Sergey Vasiliev 2024-04-13 10:28:23 +0800
  • a1bdfc355e
    Release version 1.4.0 (#365) master v1.4.0 Mateusz Woś 2024-04-12 16:19:23 +0200
  • a2e78c6cff Release version 1.4.0 mwoss 2024-04-12 16:15:38 +0200
  • 275e48eaef
    Add docs section with alternative libraries (#363) Mateusz Woś 2024-04-12 15:40:04 +0200
  • a32ac4f813 Adjust library descriptions mwoss 2024-04-12 15:39:14 +0200
  • dd603cbbbd
    Support scanning uint64 (#364) Philip Dubé 2024-04-12 13:35:56 +0000
  • 4b9813c1ae Support scanning uint64 Philip Dubé 2024-04-09 00:07:18 +0000
  • 80ec940054
    Add NewFromUint64 constructor (#352) Egor Seredin 2024-04-08 23:38:20 +0900
  • 8d18d5f449 Grammar fix again mwoss 2024-04-08 00:18:41 +0200
  • 8bc6874bc6 Grammar fix again :3 mwoss 2024-04-08 00:15:37 +0200
  • 508fc4f655 Grammar fix mwoss 2024-04-07 23:52:31 +0200
  • 16888ead0d Add docs section with alternative libraries mwoss 2024-04-07 23:49:54 +0200
  • 2fa107d0fe
    Remove production usage from docs (#362) Mateusz Woś 2024-04-07 20:33:44 +0200
  • d8b2462773 Remove production usage from docs mwoss 2024-04-07 20:25:10 +0200
  • 73c9b22fc7
    Merge 49883997d8 into 645a76e5b0 Julius F 2024-04-07 20:12:38 +0200
  • 645a76e5b0
    Optimize BigInt (#359) Philip Dubé 2024-04-05 19:43:23 +0000
  • 167d4e3e6d
    Merge 584bc5502b into ed8f76e893 Dean Eigenmann 2024-04-05 21:41:31 +0200
  • ed8f76e893
    Drop support for Go versions older than 1.10 (#361) Mateusz Woś 2024-04-05 21:41:05 +0200
  • 98676612c6 Remove 1.18 from test suite mwoss 2024-04-05 14:25:35 +0200
  • fd2b11f667 Drop support for Go versions older than 1.10 mwoss 2024-04-05 14:24:31 +0200
  • 0e69d5cd53
    Run CI on both push to origin branches and pull requests (#360) Mateusz Woś 2024-04-04 16:35:31 +0200
  • efbe7b9717 Run push only on master mwoss 2024-04-04 16:34:00 +0200
  • 196f1db14b Run CI on both push to origin branches and pull requests mwoss 2024-04-04 16:30:32 +0200
  • bf7794e1a8
    Optimize NumDigits method (#356) Philip Dubé 2024-04-04 14:14:38 +0000
  • 20bfa00fcd comment on significance of 53 bit significand Philip Dubé 2024-04-04 13:38:23 +0000
  • 445700e706 %d Philip Dubé 2024-04-04 13:33:36 +0000
  • 192072cb5b Optimize BigInt Philip Dubé 2024-04-03 23:41:34 +0000
  • d538aec685 remove copy, don't need Abs(d.value) 9007199254740992 converts to float64 Philip Dubé 2024-04-03 21:09:19 +0000
  • 0a79029c95 feedback, fixes bug Philip Dubé 2024-04-03 20:29:23 +0000
  • afe2a66041 Optimize NumDigits Philip Dubé 2024-03-28 19:15:46 +0000
  • 547861c49b
    Avoid reallocation of initial slice in MarshalBinary (GobEncode) (#355) Philip Dubé 2024-04-03 20:12:19 +0000
  • 3aecf53c33 , Philip Dubé 2024-04-03 19:59:08 +0000
  • 78289cc844
    Add improved implementation of power operation (#358) Mateusz Woś 2024-04-03 00:16:27 +0200
  • 931e0817e7 Remove unneeded test mwoss 2024-04-03 00:12:05 +0200
  • 443d2a8ba8 Add improved implementation of power operation mwoss 2024-04-02 23:59:57 +0200
  • 2b68c56fe0
    Adjust Ln method to prevent infinity iteration loops (#357) Mateusz Woś 2024-04-01 22:02:25 +0200
  • afc6beae37 Add test case for infinity loop mwoss 2024-04-01 22:01:07 +0200
  • ca97b40a83 Adjust docs once again xD mwoss 2024-04-01 21:54:29 +0200
  • 71fd53ec18 Adjust docs mwoss 2024-04-01 21:52:52 +0200
  • 496c6788ab Adjust Ln method to prevent infinity iteration loops mwoss 2024-04-01 21:50:30 +0200
  • 5dbfbaff9d GobEncode: avoid reallocating initial slice Philip Dubé 2024-03-16 05:58:34 +0000
  • d00399e161
    Add NewFromBigRat constructor (#288) Dovydas 2024-02-20 00:13:43 +0200
  • acffc5529c adjust comment david 2024-02-18 14:54:26 +0200
  • dd34943dc4 Test: NewFromInt: add MinInt case Egor Seredin 2024-02-13 06:53:19 +0000
  • 19b27aafdc Add NewFromUint64 Egor Seredin 2024-02-13 06:52:50 +0000
  • 57a340d853
    Add Compare method which forwards calls to Cmp (#346) Andrei Tudor Călin 2024-01-25 00:48:15 +0200
  • dcdaa0bd50 feat: add Compare method which forwards calls to Cmp Andrei Tudor Călin 2024-01-23 07:33:24 +0200
  • b79c571f80
    Removed unnecessary min function for RescalePair method (#265) Chris Belsole 2024-01-15 14:56:38 -0500
  • b844c58a71
    Fix overflow edge case in QuoRem method (#322) Frank 2024-01-16 03:52:54 +0800
  • 142a0cf2f2
    Use Godoc standard to mark deprecated Equals and StringScaled methods(#342) Feras AlSaffar 2024-01-15 22:50:05 +0300
  • afac94241f
    Merge branch 'master' into 1-add-implementation-for-is-between Elirehema Paul 2024-01-11 10:36:05 +0300
  • 7b4ffbcd3c
    Fix mod when the divisor is slightly greater than the half of dividend (#312) (#317) zlasd 2024-01-10 09:08:45 +0800
  • 30d78e5f3e - add marshal json options chaiwat.k 2024-01-05 11:32:27 +0700
  • 1df8fb3015
    Ensure empty Decimal returns correct zero-value NumDigits (#301) zlasd 2023-12-31 20:11:33 +0800
  • f204ac8a80 touchup some formatting ferasalsaffar 2023-12-30 14:11:21 -0600
  • dc75a36f05 Merge remote-tracking branch 'origin/master' ferasalsaffar 2023-12-30 14:08:17 -0600
  • 572d78e32d
    Fix examples for RoundDown, RoundFloor, RoundUp, and RoundCeil (#341) Jongmin Kim 2023-12-30 02:47:57 +0900
  • 3f442d9d32 Fix typos in examples CAEL0 2023-12-30 00:39:47 +0900
  • b4c250139b Update Go version in go.mod to match minimum version required from docs mwoss 2023-12-29 12:58:22 +0100
  • 304c9d6794
    Update Github Actions libraries to latest working version (#340) Mateusz Woś 2023-12-29 12:54:16 +0100
  • ec547d2597 Update badge to show status from master branch only mwoss 2023-12-29 10:49:20 +0100
  • 3dbbed6217 Update Github Actions libraries to latest working version mwoss 2023-12-29 10:46:29 +0100
  • f08b0f9e22
    Merge 94e1b03554 into 12e9241da2 sirKaskadir 2023-12-28 19:45:18 -0700
  • 12e9241da2
    Add implementation of natural logarithm (#339) Mateusz Woś 2023-12-29 01:59:48 +0100
  • 1760ef673f Remove unnecessary comments mwoss 2023-12-29 01:57:32 +0100
  • 0f927d00ac Fix incorrect calculation of const precision, add tests mwoss 2023-12-29 01:56:26 +0100
  • add0605556 Merge branch 'master' into nat-log mwoss 2023-12-29 00:34:33 +0100
  • 88705b71ce Reformat documentation to current go standard mwoss 2023-12-28 21:05:09 +0100
  • 8e0653763b Add working implementation for natural logarithm mwoss 2023-12-28 20:51:16 +0100