Lightning Talk: Finding Whether a Number is a Power of 2 – Ankur Satle – CppCon 2022

  • Lobby
  • Uncategorized
  • Lightning Talk: Finding Whether a Number is a Power of 2 – Ankur Satle – CppCon 2022

https://cppcon.digital-medium.co.uk/tag/cppcon/">cppcon.org/
---

Lightning Talk: Finding Whether a Number is a Power of 2 and C++20 - Ankur Satle - CppCon 2022
https://github.com/CppCon/CppCon2022

I asked this question on social media and got many diverse responses. I will present the various approaches and compare them. I will finish with the options C++20 provides with the bit header. https://en.cppreference.com/w/cpp/numeric/has_single_bit
---

Ankur Satle
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon.digital-medium.co.uk/tag/cppcon/">cppcon #cppcon.digital-medium.co.uk/tag/programming/">programming #c++

Filed under: UncategorizedTagged with: , , , ,

No comment yet, add your voice below!


Add a Comment