SQLite3 Decimal

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2025-07-13
13:15
Add autosetup v0.7.2 with autosetup --install. Leaf check-in: f98437e0c1 user: lifepillar tags: trunk
13:14
(Temporarily) remove autosetup directory. check-in: e7eda23763 user: lifepillar tags: trunk
13:13
Update autosetup to v0.7.2. Leaf check-in: 33347e146f user: lifepillar tags: autosetup
2025-07-08
14:24
Move Readme from wiki to a file. check-in: 035dd1769a user: lifepillar tags: trunk
13:34
Remove foo target. check-in: fa654b0b38 user: lifepillar tags: trunk
13:08
Update release name template. check-in: 46fe3c6a8e user: lifepillar tags: trunk
11:05
Determine the base OS correctly. check-in: 32baae5135 user: lifepillar tags: trunk
10:25
Add release target. check-in: e921d06dc2 user: lifepillar tags: trunk
2025-07-05
11:48
Bump version. check-in: 5dcdc4e958 user: lifepillar tags: trunk, v0.1.3
09:56
Ignore leading zeroes when getting the coefficient of a number. check-in: 25cd024be7 user: lifepillar tags: trunk
09:13
Fix typos in comment. check-in: 70b6652c82 user: lifepillar tags: trunk
2025-07-04
21:54
Implements decMantissa() aka decCoefficient(). check-in: 0bc66e09f4 user: lifepillar tags: trunk
21:29
Fix warning. check-in: 572045ee87 user: lifepillar tags: trunk
20:53
Write the bytes in the correct order if the system is big-endian. This should work, but is untested because I don't have a big-endian machine at hand, and I'm too lazy to create a VM. check-in: 8d39eb2f5c user: lifepillar tags: trunk
20:29
Deal with endianness—hopefully—once and for all. The storage order should be little-endian regardless of platform. `DECLITEND` is set by `./configure` so that it is surely available to decNumber. Our code uses `HAVE_LITTLE_ENDIAN` (again, set by `./configure`), which is always set to the same value as `DECLITEND`. Add a check for endianness in tests. check-in: 46143d0b59 user: lifepillar tags: trunk
15:41
Return NaN or raise Conversion syntax when a malformed blob is read. check-in: 1f76fc98de user: lifepillar tags: trunk
15:13
Merge patch for decNumber. check-in: 27e7ab6ca4 user: lifepillar tags: trunk
15:11
Remove a couple of warnings when debugging is turned on. Leaf check-in: d1183990d3 user: lifepillar tags: decnumber-lib, decnumber-p3
13:27
Do not pass library flags when building `runtests` from a dynamic library. That works on macOS, but not on FreeBSD (the library is not found when `runtests` is executed). check-in: f4ba71f190 user: lifepillar tags: trunk
13:19
Support building and testing a static as well as a dynamic library. The choice of library type is determine during configuration: - `./configure` prepares to build a dynamic library; - `./configure --static` prepares to build a static library. `make tests` works in both cases. check-in: 26292253f4 user: lifepillar tags: trunk
11:54
Add guard to version.h. check-in: f0a129ebf3 user: lifepillar tags: trunk
11:46
Rename sqlite3decimal.c back to decimal.c. Also, remove the library product with `make distclean` rather than `make clean`. check-in: adf38a4a56 user: lifepillar tags: trunk
11:38
Reorganize the dependencies. This was a bit messed up: now I've made it so `decimal.h` does not include any SQLite header. `sqlite3ext.h` is included only by the extension (`sqlite3decimal.c` and `decimal_ieee754.c`). The test file, being an application program, includes `sqlite3.h` instead. The rule is that either `sqlite3.h` or `sqlite3ext.h` must be included before `decimal.h`. check-in: f794043b93 user: lifepillar tags: trunk
11:03
Revert changes from e481600568b7413b. check-in: 4302292261 user: lifepillar tags: trunk
2025-07-03
11:41
Fix Makefile's macro. check-in: e968c8f5b6 user: lifepillar tags: trunk
11:40
Disable extensions in tests after loading libdecimal. check-in: e98acb082c user: lifepillar tags: trunk
09:53
Fix Makefile dependencies. check-in: 1f38a1ff2e user: lifepillar tags: trunk
09:28
Build static as well as dynamic library. check-in: e481600568 user: lifepillar tags: trunk
09:07
Make functions SQLITE_INNOCUOUS. Although, strictly speaking, some functions have a side effect (they may alter the content of the decStatus virtual table), that does not seem to pose security risks. check-in: 4a857cd6d1 user: lifepillar tags: trunk
2025-07-01
11:37
Update library name in tests. check-in: b28bab9e0f user: lifepillar tags: trunk
10:33
Update make distclean. check-in: 855bfbb2dc user: lifepillar tags: trunk
2025-06-30
12:05
Rename the library (libsqlite3decimal => libdecimal). check-in: 29be65d9f2 user: lifepillar tags: trunk, v0.1.2
2025-06-28
14:42
Fix more GCC warnings. check-in: c51ff87975 user: lifepillar tags: trunk
14:22
Update string buffer to make decNumber's version number fit. check-in: ea859fe01d user: lifepillar tags: trunk
14:21
Merge decNumber patch to remove a warning. check-in: 3eb1c1e660 user: lifepillar tags: trunk
14:19
Bump decNumber's patch number. check-in: bcf5613822 user: lifepillar tags: decnumber-lib, decnumber-p2
14:18
Fix warning about counter variable being set, but not used. check-in: 712a15a856 user: lifepillar tags: decnumber-lib
14:10
Add patch number to decNumber's version number. check-in: 6d02aa752e user: lifepillar tags: decnumber-lib, decnumber-p1
14:07
Merge patches to decNumber to remove some GCC warnings. check-in: 7f2456ab0a user: lifepillar tags: trunk
14:00
Apply Matthew Hagerty's patches from https://github.com/dnotq/decNumber. check-in: 92892e9169 user: lifepillar tags: decnumber-lib
13:18
Simplify mkversion.c. check-in: 8a67c6ba31 user: lifepillar tags: trunk, v0.1.1
11:21
Implement decIsLogical(). check-in: fd1241afb4 user: lifepillar tags: trunk
10:29
Update version.h. check-in: 80bab03e27 user: lifepillar tags: trunk, v0.1.0
07:29
Fix accidentally introduced circular dependency in Makefile. Also let Makefile depend on `VERSION`. check-in: 0ea4f394b9 user: lifepillar tags: trunk
2025-06-27
21:29
Bump version. check-in: 34442bd511 user: lifepillar tags: trunk
21:17
Make tests pass again. check-in: 7d8afde2a4 user: lifepillar tags: trunk
15:35
Update test/null_handling.sql. check-in: 86def1a274 user: lifepillar tags: trunk
15:35
Add decEqual() and decNotEqual() as un-shortened synonyms for decEq() and decNe(), respectively. check-in: d6fe4fefd6 user: lifepillar tags: trunk
14:30
Remove decInfinite files. check-in: a8a8a24152 user: lifepillar tags: trunk
14:27
Add an implementation of based on decQuad. This is going to replace the implementation based on decInfinite. Decimals can be stored as strings or as 16-byte blobs conforming to the IEEE754 decimal128 representation. check-in: 28fee4bc8a user: lifepillar tags: trunk