WolframAlpha computational knowledge AI
(x-0.5) - \arctan(\tan(\pi (x-0.5)))/\pi , \lfloor x \rfloor