Lurker News
Back to discussion

Comment by jules

jules1 reply#
How so? Are you talking about (high + low)/2? Whether that is correct depends on the language. With 64 bit arithmetic it's correct in practice, and with arbitrary size arithmetic it's correct in practice and in theory. It only really causes problems if you're using 32 bit arithmetic on a 64 bit machine.
ncmncm1 reply#
Just keep telling yourself that.

Or, look up the right answer.

jules1 reply#
Perhaps instead of being mean, you could be helpful and post a link to said answer.

Continue this thread — 1 reply