The arithmetic combinator cant multiply properly. It can multiply properly with other ores from what I cant test, just seem to get this behaviour for copper.
It works for some numbers but not others strangely enough.
The number seems to roll into the negative without reason. Picture below says it all.
arithmetic combinator bug
arithmetic combinator bug
- Attachments
-
- proof
- cant multiply copper.jpg (965.43 KiB) Viewed 2270 times
Re: arithmetic combinator bug
running version 0.15.30
-
- Burner Inserter
- Posts: 5
- Joined: Mon May 29, 2017 3:05 pm
- Contact:
Re: arithmetic combinator bug
This is caused by integer overflow - if the result of an operation exceeds the range of a 32-bit integer (about 2.15 billion) it will wrap around and become negative.
Re: arithmetic combinator bug
Based on: viewtopic.php?f=23&t=48386 not a bug.
Re: arithmetic combinator bug
Now I know the problem I have put in a work around.
Thanks
Thanks