aboutsummaryrefslogtreecommitdiff
path: root/docs/spec/index.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-12-03 21:15:30 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-12-03 21:15:30 -0500
commit33831837f3e17f6369097327005699a9b28d06c7 (patch)
tree8d901bf1cdae263dedd4779be0fb1e0febb1ceec /docs/spec/index.html
parent0d065be5a871100eb5c2a332499fa1cb65a9f5e5 (diff)
Separate complex number specification into its own extension
Diffstat (limited to 'docs/spec/index.html')
-rw-r--r--docs/spec/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/spec/index.html b/docs/spec/index.html
index 80209ac7..5aa2bc7d 100644
--- a/docs/spec/index.html
+++ b/docs/spec/index.html
@@ -17,11 +17,12 @@
<li><a href="evaluate.html">Evaluation semantics</a></li>
<li><a href="primitive.html">Primitives</a>: <a href="https://github.com/mlochbaum/BQN/blob/master/spec/reference.bqn">reference implementations</a></li>
<li><a href="inferred.html">Inferred properties</a> (identities, fills, Undo, and Under)</li>
+<li><a href="complex.html">Complex numbers</a> optional extension</li>
<li><a href="system.html">System-provided values</a> (<code><span class='Value'>•</span></code>)</li>
</ul>
<p>In several cases, an implementation can choose between more than one possible behavior.</p>
<ul>
-<li>An implementation chooses its number system, which must be an approximation of the real or complex numbers but has no specific requirements. Results of basic numeric operations must be deterministic but are not specified.</li>
+<li>An implementation chooses its number system, which must be an approximation of the real (can be extended to <a href="complex.html">complex</a>) numbers but has no specific requirements. Results of basic numeric operations must be deterministic but are not specified.</li>
<li>Minimum (<code><span class='Function'>⌊</span></code>) and Maximum (<code><span class='Function'>⌈</span></code>) may give an error if either argument is a character.</li>
<li>Other than the required cases, attempting to use an inferred property can either fail or give a result consistent with the constraints on that property.</li>
<li>In some cases there are multiple valid results for Undo. Any of these results, or an error, can be given; if there is no obvious choice of result an error is recommended. The choice must depend only on the inputs to Undo.</li>