aboutsummaryrefslogtreecommitdiff
path: root/help/sign_multiply.md
blob: 4746468771279f79e42d4e92661af617fd69b844 (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
[→full documentation](../doc/arithmetic.md#basic-arithmetic)

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

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

        × ¯5‿0‿5‿1



## `𝕨 × 𝕩`: Multiply
[→full documentation](../doc/arithmetic.md#basic-arithmetic)

`𝕨` multiplied by `𝕩`.

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

        1 × 2

        2 × 2‿3‿4