aboutsummaryrefslogtreecommitdiff
path: root/help/abs_modulus.md
blob: 1e015d3732fb96ea512719f16a8146db94514e06 (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/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