Added small utilities for log-scales.