Ask Your Question

Revision history [back]

Largest 2^n less than x?

Other than iterating n and testing against x, is there a particular method in SAGE to find the largest 2^n less than a specified integer?

Thanks CL