aboutsummaryrefslogtreecommitdiff
path: root/help/|abs modulus.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 10:14:32 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 10:14:32 +0530
commitcf65cfb32f34b7c9fed4614479d8242c51321bac (patch)
tree46e00a664396fdb4452e5eb89c87ddd033aedc38 /help/|abs modulus.md
parent9465180cb19a41efccd7130cfc75d760a733bb30 (diff)
primitive function and modifier help pages
Diffstat (limited to 'help/|abs modulus.md')
-rw-r--r--help/|abs modulus.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/help/|abs modulus.md b/help/|abs modulus.md
new file mode 100644
index 00000000..533ab6b4
--- /dev/null
+++ b/help/|abs modulus.md
@@ -0,0 +1,25 @@
+Pipe (`|`)
+
+`| 𝕩`: Absolute Value
+
+Absolute Value of `𝕩`.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+```
+ | ¯2
+2
+ | 1‿3‿¯4‿3
+⟨ 1 3 4 3 ⟩
+```
+
+`𝕨 | 𝕩`: Modulus
+
+Remainder of `𝕩` divided by `𝕨`.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+```
+ 1 | 3
+0
+ 2 | 3‿4‿5
+⟨ 1 0 1 ⟩
+``` \ No newline at end of file