Previous commit failed for types with an extended exponent range - use logarithms rather than assuming the result is zero.