6 ms·Addition and conditional bit shifting (which is multiplication by powers of 2).by cvoss 2mo agoAddition and conditional bit shifting (which is multiplication by powers of 2).