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