aboutsummaryrefslogtreecommitdiff
path: root/help/sign_multiply.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 15:10:38 -0500
committerGitHub <noreply@github.com>2022-01-19 15:10:38 -0500
commitce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch)
tree7af238dbdb370a768f965066dadadd144cbd70f7 /help/sign_multiply.md
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'help/sign_multiply.md')
-rw-r--r--help/sign_multiply.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/help/sign_multiply.md b/help/sign_multiply.md
new file mode 100644
index 00000000..3b8fa8de
--- /dev/null
+++ b/help/sign_multiply.md
@@ -0,0 +1,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
+
+
+
+## `𝕨 × 𝕩`: Multiply
+
+`𝕨` multiplied by `𝕩`.
+
+[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
+
+ 1 × 2
+
+ 2 × 2‿3‿4
+
+