diff options
author | drh <> | 2023-06-29 20:28:03 +0000 |
---|---|---|
committer | drh <> | 2023-06-29 20:28:03 +0000 |
commit | ec3e57fa92df277f6a92c5232f1b5af581fe9232 (patch) | |
tree | 1f2e1ec5708222a50b0510a05e9987ecb75c7b7c /src/func.c | |
parent | 500ca334bd1d4f25aaa3e4ac58bdc8076dff345a (diff) | |
download | sqlite-ec3e57fa92df277f6a92c5232f1b5af581fe9232.tar.gz sqlite-ec3e57fa92df277f6a92c5232f1b5af581fe9232.zip |
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.
FossilOrigin-Name: 8baf8c10aecb261751f2b154356ab224b79d07230929ec9f123791278e601bba
Diffstat (limited to 'src/func.c')
0 files changed, 0 insertions, 0 deletions