Generalized logarithm | ScratchStats