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

# Times (`×`)

`× 𝕩`: Sign  

Sign of `𝕩`.
- `¯1` if `𝕩 < 0`
- `0` if `𝕩 = 0`
- `1` if `𝕩 > 0`

[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)

      × ¯5‿0‿5‿1
    ⟨ ¯1 0 1 1 ⟩


`𝕨 × 𝕩`: Multiply

`𝕨` multiplied by `𝕩`.

[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)

      1 × 2
    2
      2 × 2‿3‿4
    ⟨ 4 6 8 ⟩