diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-07-07 21:23:06 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-07-07 21:23:26 -0400 |
| commit | 77c6ab5c8435c9fcde7c4742ee0e5eb06341eeff (patch) | |
| tree | 48ff9cf3b9066aea0e38111a9dc5ce92f87ebe96 /docs/doc/arithmetic.html | |
| parent | f14c4af888dc678eefe1de323b8fe41f7387e82b (diff) | |
Separate token and constant documentation into its own page
Diffstat (limited to 'docs/doc/arithmetic.html')
| -rw-r--r-- | docs/doc/arithmetic.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/arithmetic.html b/docs/doc/arithmetic.html index 9e511044..918bd9c5 100644 --- a/docs/doc/arithmetic.html +++ b/docs/doc/arithmetic.html @@ -96,7 +96,7 @@ <span class='Function'>√</span> <span class='Number'>0</span><span class='Ligature'>‿</span><span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>4</span> ⟨ 0 1 1.414213562373095 2 ⟩ </pre> -<p>Take note of the difference between the function <code><span class='Function'>-</span></code>, and the "high minus" character <code><span class='Number'>¯</span></code>, which is a part of <a href="syntax.html#constants">numeric notation</a>. Also shown is the number <code><span class='Number'>∞</span></code>, which BQN supports along with <code><span class='Number'>¯∞</span></code> (but depending on implementation BQN may or may not keep track of <code><span class='Number'>¯0</span></code>. Integer optimization loses the distinction so it's best not to rely on it).</p> +<p>Take note of the difference between the function <code><span class='Function'>-</span></code>, and the "high minus" character <code><span class='Number'>¯</span></code>, which is a part of <a href="token.html#numbers">numeric notation</a>. Also shown is the number <code><span class='Number'>∞</span></code>, which BQN supports along with <code><span class='Number'>¯∞</span></code> (but depending on implementation BQN may or may not keep track of <code><span class='Number'>¯0</span></code>. Integer optimization loses the distinction so it's best not to rely on it).</p> <p>The logarithm is written with <a href="undo.html">Undo</a>: <code><span class='Function'>⋆</span><span class='Modifier'>⁼</span></code>. As with Power, the default base is <em>e</em>, giving a natural logarithm.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4ouG4oG8IDEwCgoyIOKLhuKBvCAxMDI0">↗️</a><pre> <span class='Function'>⋆</span><span class='Modifier'>⁼</span> <span class='Number'>10</span> 2.302585092994046 |
