• Kogasa
    link
    fedilink
    English
    arrow-up
    16
    ·
    7 months ago

    It’s common to just use “log” in pure math, since nobody uses the base 10 log.

    • 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).