http://qs1969.pair.com?node_id=11138809


in reply to Re^5: Anyone with XS experience willing to create a high performance data type for Perl?
in thread Anyone with XS experience willing to create a high performance data type for Perl?

I could have said that 31 and 32 are different orders of magnitude (log of 31 is 1.49, log of 32 is 1.51)

That would mean you still weren't getting it. You have to round after doing the difference, not before.

You could also think of it like this, which is mathematically equivalent: round( log10( X / Y ) ).

I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.