You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new numerical data type called Decimal that follows the IEEE 754-2008 spec
Use Case
Number stored in the proposed Decimal type allow for storing data sensitive to impression. This is particularly useful when working with financial data. Currently available data types, such as floats, are not suitable for this due to rounding errors and impression being inherent to the type.
Describe the feature
A new numerical data type called Decimal that follows the IEEE 754-2008 spec
Use Case
Number stored in the proposed Decimal type allow for storing data sensitive to impression. This is particularly useful when working with financial data. Currently available data types, such as floats, are not suitable for this due to rounding errors and impression being inherent to the type.
Proposed Solution
Add a new Decimal type which strictly follows the IEEE 754-2008 spec (https://en.wikipedia.org/wiki/IEEE_754).
Other Information
No response
Acknowledgements
Version used
0.4.5 365bd18.e6b43a1
Environment details (OS name and version, etc.)
V full version: V 0.4.5 365bd18.e6b43a1
OS: macos, macOS, 14.5, 23F79
Processor: 10 cpus, 64bit, little endian, Apple M1 Max
getwd: /x/y/z
vexe: /x/y/z/v/v
vexe mtime: 2024-03-20 20:08:31
vroot: OK, value: /x/y/z/v
VMODULES: OK, value: /x/y/z/.vmodules
VTMP: OK, value: /tmp/v_501
Git version: git version 2.44.0
Git vroot status: 0.4.5-5-ge6b43a16 (581 commit(s) behind V master)
.git/config present: true
CC version: Apple clang version 15.0.0 (clang-1500.3.9.4)
thirdparty/tcc status: thirdparty-macos-arm64 5c1d002f
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: