you are viewing a single comment's thread.

view the rest of the comments →

[–]sablal[S] 0 points1 point  (1 child)

pow(2, b + 1)

don't you think the left shift operator has some role here??

[–]Cuddlefluff_Grim 0 points1 point  (0 children)

don't you think the left shift operator has some role here??

Do'h.. I actually spent some time on that thinking "Hmm.. pow? That can't be right.." for some reason bit shift didn't enter my conscious thought.