• barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      7 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@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 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).