hi,
pls excuse me if my question is very basic, as I am not very good with programming. I am currently using a 32 bit application on my windows Xp OS. there is an unsigned long var being used in the application which I presume would not be able to hold a value more than 4294967295, yet during a calculation (when it gets multiplied by a factor of 1.5) it holds a value of 6000000000. Can ne one pls explain how ?
Also, this got me curious and i used my win XP calculator to see that I can actually key-in 32 "digits" to perform the calculation. If OS is 32 bit, how can we have a number of 32 digits length.
pls excuse me if my question is very basic, as I am not very good with programming. I am currently using a 32 bit application on my windows Xp OS. there is an unsigned long var being used in the application which I presume would not be able to hold a value more than 4294967295, yet during a calculation (when it gets multiplied by a factor of 1.5) it holds a value of 6000000000. Can ne one pls explain how ?
Also, this got me curious and i used my win XP calculator to see that I can actually key-in 32 "digits" to perform the calculation. If OS is 32 bit, how can we have a number of 32 digits length.