Update logarithm.h