(adsbygoogle = window.adsbygoogle || []).push({});
The title says it all: what is the size of int? I am not sure whether the size is dependent on the computer architecture or the compiler, but I am using the GSC Studio. I was testing a GSC menu when I found out some of the higher negative numbers were not being interpreted as negative numbers. For example, I have a conditional statement of if (value > 0) do something and print value else do something else and print value. When I pass in -100000, the number is interpreted as 100000 and follows the first conditional statement, printing out 100000.
With this being said, I had a separate test where I printed out high negative numbers (from -1 to -1E10), and this seem to print the numbers right. Anybody have an idea why this might be happening?
TL

R: Any idea why some high negative numbers do not register as negative numbers, instead is registered as positive number?