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


in reply to Re^6: 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?

OK -- thank you, I get it now. I was looking at absolute orders of magnitude, when I should have been looking at relative orders of magnitude.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re^7: Anyone with XS experience willing to create a high performance data type for Perl?

Replies are listed 'Best First'.
Re^8: Anyone with XS experience willing to create a high performance data type for Perl?
by jdporter (Chancellor) on Nov 15, 2021 at 14:56 UTC

    I'm not sure it even makes sense to talk about absolute orders of magnitude. There is no origin on a logarithmic scale.

      To me, the order of magnitude answers the question "What's the exponent?". For 99, the exponent's 1; for 100, the exponent's 2. That's it.

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

        That's a bit of a problem, assuming you're talking about scientific notation.

        99 is 9.9e1, 100 is 1e2, yet they're the same order of magnitude.

        Taking the log10 of the number is better.