A limit theorem for Bernoulli convolutions and the Φ-variation of functions in the Takagi class.