SQLite

All files named "ext/misc/decimal.c"
Login

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

History for ext/misc/decimal.c

2023-08-18
15:39
[172cf81a] part of check-in [c48f1be8] Rename the decimal_sci() function to decimal_exp(). Forum post fa027bb0ab. (check-in: [c48f1be8] user: drh branch: trunk, size: 20849)
2023-06-29
23:03
[a61343b3] part of check-in [51244816] Cleanup and commenting of the new DECIMAL extension code. No functional changes. (check-in: [51244816] user: drh branch: trunk, size: 20848)
20:28
[9899f6c3] part of check-in [8baf8c10] Enhancements to the DECIMAL extension: (1) If the argument to decimal(X) is a floating point value (or an 8-byte blob), the floating point value is expanded into its exact decimal representation. (2) Function decimal_sci(X) works the same except it returns the result in scientific notation. (3) New function decimal_pow2(N) returns the full decimal expansion of the N-th integer power of 2. (check-in: [8baf8c10] user: drh branch: trunk, size: 19719)
17:48
[24ccb63e] part of check-in [24927c13] Fix harmless compiler warnings about unused function arguments. (check-in: [24927c13] user: drh branch: trunk, size: 16567)
14:49
[17303ac0] part of check-in [61d49239] Add the decimal_sci(X) function to the Decimal extension for showing a decimal value in scientific notation: +D.DDDDDe+DD (check-in: [61d49239] user: drh branch: trunk, size: 16541)
2022-12-23
14:49
[57d85fa2] part of check-in [c14bbe16] Fix lots of harmless, nuisance compiler warnings, mostly unused parameter warnings in extensions. (check-in: [c14bbe16] user: drh branch: trunk, size: 14632)
2021-05-03
13:24
[09f967dc] part of check-in [5127f737] Fix a potential memory leak following OOM in the decimal extension. (check-in: [5127f737] user: drh branch: trunk, size: 14625)
2020-08-08
00:44
[3ddbf816] part of check-in [eface2da] Reorder declarations in the decimal extension for C89. (check-in: [eface2da] user: drh branch: trunk, size: 14625)
2020-07-29
16:18
[f6f57e01] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 14625)
2020-07-18
18:44
[adeac2c2] part of check-in [4c0d208c] More harmless compiler warning fixes. (check-in: [4c0d208c] user: drh branch: trunk, size: 14624)
2020-06-23
15:29
[c1897f62] part of check-in [e1416c8b] Fix a harmless compiler warning. (check-in: [e1416c8b] user: drh branch: decimal, size: 14245)
14:44
[7ddba759] part of check-in [0294ce07] Avoid unnecessary normalization in decimal_sum(). Trim excess trailing zeros off the result of decimal_mul(). (check-in: [0294ce07] user: drh branch: decimal, size: 14249)
2020-06-22
21:25
[334d8d34] part of check-in [72eee04b] Add the decimal_mul() function. (check-in: [72eee04b] user: drh branch: decimal, size: 14227)
19:12
Added: [ba7054d9] part of check-in [4c3b8560] An extension for doing decimal arithmetic on strings. (check-in: [4c3b8560] user: drh branch: decimal, size: 12890)