Hacker News new | ask | show | jobs
by akam4n4n 527 days ago
maybe dumb, but what happens when low and high > unitMAX/2

shift left is worse in that case right?

1 comments

It's not possible, because low and high are of type int, which is always lesser than uint_nax/2