perl -le 'printf("%f %f %f\n", 4294967295, 2147483647*2**32, 2147483647*2**32+4294967295)'
4294967295.000000 9223372032559808512.000000 9223372036854775808.000000 Why? The answer is really 9223372036854775807 (one number lower), and it's obvious that adding 2 and 5 in the units column should yield a 7 in the sum's unit column. Roundoff error? Bug? How do I work around it? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/