I think we should have tests that initialize a log encoder with a variety of different min/max values. This should include unusual numbers such as minval=42 and maxval=1.3e12  and then ensures that various properties are met.