make .toLogDouble implicit classes specific to Int and Double
add some log-comparing testutils