Yet another implementation of the Clausen function