title: Logarithm of a BigInt
body: <p>Is there a way to get the logarithm of a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt" rel="noreferrer">BigInt</a> in JavaScript?</p>
  <p>With normal numbers, you would use this code:</p>
  <pre><code>const largeNumber = 1000;
  const result = Math.log(largeNumber);
  </code></pre>
  <p>However, I need to work with factorial numbers, potentially higher than 170!, so the regular number type doesn't work. <code>Math.log</code> doesn't work with BigInt. So how do I get the logarithm?</p>
  <pre><code>const largeNumber = BigInt(1000);
  const result = ???
  </code></pre>