| 1 | initial version |
Here is a way, based on the example is2pow from the documentation:
$ sage -c 'load("power2.spyx"); print(is2pow(12))'
Compiling ./power2.spyx...
False
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.