• barsoap
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      6 months ago

      And everyone just uses “log” in CS because noone cares about the base.

      …if you specifically want the natural one it’s ln. ld for binary, base 10 is pretty much unheard of. Such an uneven number.

    • hobovision
      link
      fedilink
      English
      arrow-up
      6
      ·
      6 months ago

      Fair. Logs are natural unless otherwise specified. You wouldn’t put log(37) if you wanted base 10, you’d do log_10(37).