aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/arithmetic.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-12-30 20:57:20 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-12-30 20:57:20 -0500
commit8ddad454b30cdafc9bbdc0cbd51c653bee8a87e5 (patch)
tree9c267498157b26caf82ff5e0baf9b190a5e84837 /docs/doc/arithmetic.html
parent2f4f1d38f0aec449c39a15cdaaa5e160b4a78a4e (diff)
Rebuild with CBQN's new number formatting (ryu)
Diffstat (limited to 'docs/doc/arithmetic.html')
-rw-r--r--docs/doc/arithmetic.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/arithmetic.html b/docs/doc/arithmetic.html
index 918bd9c5..7c8a900a 100644
--- a/docs/doc/arithmetic.html
+++ b/docs/doc/arithmetic.html
@@ -94,7 +94,7 @@
⟨ 1 2.718281828459045 7.38905609893065 ⟩
<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 ⟩
+⟨ 0 1 1.4142135623730951 2 ⟩
</pre>
<p>Take note of the difference between the function <code><span class='Function'>-</span></code>, and the &quot;high minus&quot; 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>