aboutsummaryrefslogtreecommitdiff
path: root/docs/help/abs_modulus.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/help/abs_modulus.html')
-rw-r--r--docs/help/abs_modulus.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/help/abs_modulus.html b/docs/help/abs_modulus.html
new file mode 100644
index 00000000..fe6449f0
--- /dev/null
+++ b/docs/help/abs_modulus.html
@@ -0,0 +1,25 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Pipe (`|`)</title>
+</head>
+<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
+<h1 id="pipe-"><a class="header" href="#pipe-">Pipe (<code><span class='Function'>|</span></code>)</a></h1>
+<h2 id="--absolute-value--"><a class="header" href="#--absolute-value--"><code><span class='Function'>|</span> <span class='Value'>𝕩</span></code>: Absolute Value</a></h2>
+<p>Absolute Value of <code><span class='Value'>𝕩</span></code>.</p>
+<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICB8IMKvMgoKICB8IDHigL8z4oC/wq804oC/Mw==">↗️</a><pre> <span class='Function'>|</span> <span class='Number'>¯2</span>
+2
+
+ <span class='Function'>|</span> <span class='Number'>1</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>¯4</span><span class='Ligature'>‿</span><span class='Number'>3</span>
+⟨ 1 3 4 3 ⟩
+</pre>
+<h2 id="---modulus"><a class="header" href="#---modulus"><code><span class='Value'>𝕨</span> <span class='Function'>|</span> <span class='Value'>𝕩</span></code>: Modulus</a></h2>
+<p>Remainder of <code><span class='Value'>𝕩</span></code> divided by <code><span class='Value'>𝕨</span></code>.</p>
+<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAxIHwgMwoKICAyIHwgM+KAvzTigL81">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>|</span> <span class='Number'>3</span>
+0
+
+ <span class='Number'>2</span> <span class='Function'>|</span> <span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>4</span><span class='Ligature'>‿</span><span class='Number'>5</span>
+⟨ 1 0 1 ⟩
+</pre>