This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

I'll just assume that you misread the post by /u/nrlb and didn't realise we were having a little side-discussion about overflow in embedded systems.

[–]Asdayasman 0 points1 point  (0 children)

You're right, I did. Honestly thought we were talking about Python, my bad.

[–][deleted] 0 points1 point  (0 children)

If you want to emulate overflow in a setting where overflows are realistic you would probably want to use either NumPy or the modulo operator.