Arduino Forum
Powers of Two Using Bitshift
Projects
Programming
nickgammon
October 25, 2012, 12:55am
3
but instead get 0, 1, 2, 4,
Hint:
x < 6;
I don't expect x to be greater than 5.
show post in topic
Related topics
Topic
Replies
Views
Activity
Math (pow) function problem
Troubleshooting
13
9123
May 6, 2021
pow() function not behaving as expected
Programming
7
2469
May 5, 2021
Mistakes with shift operation
Programming
3
1482
May 5, 2021
trouble with function Pow in for loop
Programming
6
1850
May 5, 2021
How do I do this program?
Programming
30
758
May 17, 2022