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