in reply to My computer doesn't like the number 3? (Forget it! It's rounding!!!)
A little bit of light for those who didn't follow:
sub log10{ log( $_[0] ) / log( 10 ) } printf("%.16e\n", log10($_)) for 1e2, 1e3, 1e4;
2.0000000000000000e+000 2.9999999999999996e+000 4.0000000000000000e+000
|
|---|