Yesterday, nobody contributed anything. :-(
The official answer is:
tan(floor(2 ^ x))