int x = 2000000000 * 2000000000; in java gives -1651507200
in vb, the same yields an overflow, and
Code:
math.bigmul(2000000000 * 2000000000 ) yields 4000000000000000000
ive learned that this is because java simply drops the higher order bits in order to fit it into the integer type
my question is, how do i accomplish the same in .NET? Im transfering some code over and I was wondering if there was anything in the framework that does it
thanks
in vb, the same yields an overflow, and
Code:
math.bigmul(2000000000 * 2000000000 ) yields 4000000000000000000
ive learned that this is because java simply drops the higher order bits in order to fit it into the integer type
my question is, how do i accomplish the same in .NET? Im transfering some code over and I was wondering if there was anything in the framework that does it
thanks