Mathematica Asked on April 18, 2021
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
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP