Skip to content

Commit 626762d

Browse files
authored
Update primitives.html
1 parent 1143566 commit 626762d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/xcsl/primitives.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
});
5757
</script></nav></div><div class="container mainContainer docsContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 id="__docusaurus" class="postHeaderTitle">Literal Values</h1></header><article><div><span><h2><a class="anchor" aria-hidden="true" id="integer-values"></a><a href="#integer-values" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Integer Values</h2>
5858
<p>Integers are the backbone of XCS and are typically the most efficient data type. They can be trivially defined as such:</p>
59-
<pre><code class="hljs"><span class="hljs-number">12</span>
59+
<pre><code class="hljs"><span class="hljs-number">10</span>
6060
</code></pre>
6161
<p>This would form the number 10 of type <em>int</em>, a flexible datatype that represents the most contextually-efficient integer size.</p>
6262
<p>To elaborate, integers can be signed or unsigned, as well as sized (in bits). Signed integers can be positive or negative; unsigned integers can only be positive but range twice as high in value. It is considered best practice to use the smallest suitable integer size, because it will be the fastest in execution.</p>
@@ -235,4 +235,4 @@ <h3><a class="anchor" aria-hidden="true" id="tuples"></a><a href="#tuples" aria-
235235
inputSelector: '#search_input_react',
236236
algoliaOptions: {}
237237
});
238-
</script></body></html>
238+
</script></body></html>

0 commit comments

Comments
 (0)