Commit Graph

22 Commits (5ece2efd4c610fe2c0078f49695d91025ae758fa)

Author SHA1 Message Date
Oleg Lomaka ccc7cc2931 Assign Numeric to *big.Rat 2022-01-14 17:16:04 -06:00
Jim Tsao decb75f242 Add numeric tests for infinity encoding/decoding 2021-11-01 07:28:13 -05:00
Jim Tsao 001b3166b9 Add infinity support for Numeric AssignTo 2021-11-01 07:28:13 -05:00
Jim Tsao e0f9fc5212 Add infinity support for Numeric Set/Get 2021-11-01 07:28:13 -05:00
Jack Christensen a29019de9d Fix binary decoding of very large numerics.
fixes #133
2021-10-30 10:17:58 -05:00
Jack Christensen c16a4f7d6a Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx"
This reverts commit 32e20a6031.
2021-07-24 10:40:30 -05:00
Jack Christensen 32e20a6031 Temporarily delete tests and pgxtype to break recursive dependency with pgx 2021-07-24 10:16:00 -05:00
Jack Christensen 0f1bda20b0 Fix numeric NaN support
fixes #93
2021-03-11 19:49:03 -06:00
Jack Christensen 7bcd9fbdaf Rename IsNaN to NaN 2020-06-11 21:35:32 -05:00
leighhopcroft 0b762c6e26 updated to use boolean IsNaN field on Numeric 2020-06-10 16:59:08 +01:00
leighhopcroft f2a2797a88 support NaN in Numeric encode and decode methods 2020-06-02 20:14:51 +01:00
leighhopcroft b708c8b985 support NaN in Numeric.AssignTo 2020-06-02 19:07:10 +01:00
leighhopcroft 3cbb81631a added NaN support to Numeric.Set 2020-06-02 18:35:58 +01:00
Jack Christensen 238967ec4e Improve accuracy of numeric to float
fixes #27
2020-05-13 08:05:19 -05:00
Jack Christensen 4e0ed911f5 Import Fix for -0 numeric
From pgx: d678216f46
2019-06-08 11:45:47 -05:00
Jack Christensen 4ed0de4755 Splitting pgtype into own repo 2019-04-20 19:14:08 -05:00
Jack Christensen 8502a12ac7 Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
2019-04-20 17:41:08 -05:00
Wei Congrui f18a22e066 Fix numeric EncodeBinary bug 2017-08-18 15:20:39 +08:00
Jack Christensen 6ba93d4e54 Fix TestNumericNormalize 2017-05-20 08:38:27 -05:00
Jack Christensen e380de7cd1 Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
Jack Christensen 7ff405ff84 Add simple protocol suuport with (Query|Exec)Ex 2017-04-10 08:58:51 -05:00
Jack Christensen f7191d3a56 Add pgtype.Numeric 2017-04-01 23:33:04 -05:00