Describe the bug
See https://git.lix.systems/lix-project/lix/issues/423
- Nix currently behaves by overflowing.
- Overflowing is UB, but predictable, so a few users might rely on it without difficulties such as impurities showing through hashes and substitution
Steps To Reproduce
nix-repl> 500000000*50000000000
6553255926290448384
Expected behavior
I'm inclined to make it throw instead.
If that is a problem, we may revisit. Have some thoughts on how; see https://git.lix.systems/lix-project/lix/issues/423#issuecomment-4604
nix-env --version output
Additional context
Priorities
Add 👍 to issues you find important.
Describe the bug
See https://git.lix.systems/lix-project/lix/issues/423
Steps To Reproduce
Expected behavior
I'm inclined to make it throw instead.
If that is a problem, we may revisit. Have some thoughts on how; see https://git.lix.systems/lix-project/lix/issues/423#issuecomment-4604
nix-env --versionoutputAdditional context
Priorities
Add 👍 to issues you find important.