Log base 2 in expression

is there a way to do log base 2 in expression without RunScript?

import math
x = 1024
print int(math.log(x,2))
log(1024)/log(2)
3 Likes