-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic types support for IEEE 754 decimal32, decimal64 and decimal128 #1451
Comments
We could do the integration like for the Additional information for LLVM integration? https://discourse.llvm.org/t/rfc-decimal-floating-point-support-iso-iec-ts-18661-2-and-c23/62152 |
The question is: how bad would the experience be if this was implemented as user land types. I HAVE thought of it, but the fact that it's not often used in the languages that have it is sort of off-putting. |
In user land we would lost, implicit/explicit cast, and arithmetic operators support. |
Would be nice to have a C3 interface like e.g.: |
I've looked at this and it's a surprisingly big feature. If you have any detailed proposal I am definitely willing to look at it. |
I will work on a proposal this week. do you prefer that I post it in the Discussions >> Ideas section? |
That works fine. |
I propose to use the
dec32
,dec64
anddec128
type names.It would ease financial application development.
It would simplify database interop using the SQL DECIMAL type.
The text was updated successfully, but these errors were encountered: