-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when the compiler lies to me and instead of the number literal I see stores a different number to the memory/register and first then starts the actual computation.
Describe the solution you'd like
Either error out, that the given float literal can't be converted to a binary float due to loss of precision. Or add support for (arbitrary precision like mpdecimal?) decimal floats.
Describe alternatives you've considered
Leave it as it is - which is very painful and significantly contributes to the oddity of floats in general.
Additional context
N/A
Reactions are currently unavailable