Answer the question
In order to leave comments, you need to log in
What exactly happens in Arduino when you try to write too large a number?
What happens at a deep level when you try to write too large a number to an integer variable? That the size of a variable is limited to 16 bits and one of them is reserved for the sign is understandable. Where the range of values comes from is also clear. But what exactly happens when you try to go beyond this range?
Why is it that, when calculating powers of two, at some point the minimum value, -32768, is displayed, and then only zeros? What happens with other operations with too large numbers?
Answer the question
In order to leave comments, you need to log in
Where the range of values comes from is also clear. But what exactly happens when you try to go beyond this range?
Why is it that, when calculating powers of two, at some point the minimum value, -32768, is displayed, and then only zeros?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question