diff options
Diffstat (limited to 'help/abs_modulus.md')
| -rw-r--r-- | help/abs_modulus.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/help/abs_modulus.md b/help/abs_modulus.md new file mode 100644 index 00000000..1e015d37 --- /dev/null +++ b/help/abs_modulus.md @@ -0,0 +1,27 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/abs_modulus.html).* + +# Pipe (`|`) + +## `| 𝕩`: Absolute Value + +Absolute Value of `𝕩`. + +[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion) + + | ¯2 + + | 1‿3‿¯4‿3 + + + +## `𝕨 | 𝕩`: Modulus + +Remainder of `𝕩` divided by `𝕨`. + +[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion) + + 1 | 3 + + 2 | 3‿4‿5 + + |
