1

How can I do simple tests like determining if an integer is a power of 2? Mathematically, the result below should be True, and I understand why it doesn't work on MMa, but how do I do this test properly so I'll get a correct result?

IntegerQ[Log[1024]/Log[2]]

False

Jerry Guern
  • 4,602
  • 18
  • 47

0 Answers0