integral_0^1 sgn(sin(pi/x))