]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the decimal_cmp() extension function to give correct results in
authordrh <>
Sat, 20 Sep 2025 14:32:12 +0000 (14:32 +0000)
committerdrh <>
Sat, 20 Sep 2025 14:32:12 +0000 (14:32 +0000)
commit65a445d7509f3e50cdf60675221c5cd083a9c6bb
treec36f7f691287b3e2234496d4ac0258979a46cdce
parent78202b9a3b0feb81520b07a41fb0686e5c1ec97c
Fix the decimal_cmp() extension function to give correct results in
corner cases such as negative zero and two equivalent values where one
has extra trailing zeros to the right of the decimal point.
[forum:/forumpost/367c770224|Forum post 367c770224].

FossilOrigin-Name: 25b3626a018fa5916d0e129ee057c3f709c6e4d0b84a1a3102cad127a39a3db9
ext/misc/decimal.c
manifest
manifest.uuid
test/decimal.test