blob: 5efea46b710c9aa7ca89f91df3318d970712509b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/absolutevalue_modulus.html).*
# Pipe (`|`)
## `| 𝕩`: Absolute Value
[→full documentation](../doc/arithmetic.md#additional-arithmetic)
Absolute Value of `𝕩`.
[Pervasive.](../doc/arithmetic.md#pervasion)
| ¯2
| 1‿3‿¯4‿3
## `𝕨 | 𝕩`: Modulus
[→full documentation](../doc/arithmetic.md#additional-arithmetic)
Remainder of `𝕩` divided by `𝕨`.
[Pervasive.](../doc/arithmetic.md#pervasion)
1 | 3
2 | 3‿4‿¯5
|