aboutsummaryrefslogtreecommitdiff
path: root/help/absolutevalue_modulus.md
blob: fb0011a02e34fc671d16ba86477416eb29441a0c (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
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/absolutevalue_modulus.html).*

# Pipe (`|`)

## `| 𝕩`: Absolute Value

Absolute Value of `𝕩`.

[Pervasive.](../doc/arithmetic.md#pervasion)

        | ¯2

        | 1‿3‿¯4‿3



## `𝕨 | 𝕩`: Modulus

Remainder of `𝕩` divided by `𝕨`.

[Pervasive.](../doc/arithmetic.md#pervasion)

        1 | 3

        2 | 3‿4‿¯5