diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-12 22:15:44 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-12 22:15:44 -0500 |
| commit | 59ab5338d4e23eb108a43f876aa979238ae2490e (patch) | |
| tree | 616acd22834a1aa42b030a0a28e024df43683dd8 /doc/arithmetic.md | |
| parent | 3a5c72c7a3457560be2ca4a837eb5491e5b9e8b6 (diff) | |
Slightly less APL-centric documentation
Diffstat (limited to 'doc/arithmetic.md')
| -rw-r--r-- | doc/arithmetic.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/arithmetic.md b/doc/arithmetic.md index 03b02c3c..9497b8fe 100644 --- a/doc/arithmetic.md +++ b/doc/arithmetic.md @@ -2,9 +2,9 @@ # Arithmetic functions -BQN's arithmetic functions use mostly the same symbols as APL, and the functionality is actually defined by the language implementation's number system and not the specification, so there's not too much to say about them. +Since BQN's function syntax was designed to mirror mathematical operators, its arithmetic tends to look a lot like mathematical notation. Individual functions are listed below. As an array language, BQN applies arithmetic element-wise to arrays, a system known as [pervasion](#pervasion). A distinctive feature of BQN is its [character arithmetic](#character-arithmetic), which allows `+` and `-` to manipulate characters without explicitly transforming them to numbers. -Summary of differences for APLers: +Summary of other differences from APL: - Exponentiation is represented with the star character `⋆`, since asterisk `*` is rendered inconsistently across fonts and sometimes appears as a superscript. - There's a root function `√`. - Not uses a different symbol `¬`, and binary logical functions `∧∨` (described on [their own page](logic.md)) are extended linearly in all arguments instead of using GCD or LCM. |
