diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-20 09:26:55 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-20 09:26:55 -0400 |
| commit | 96db3c38e9e9c6e4f8c99663a66671add2dea979 (patch) | |
| tree | 2eb5242858b41c5333de5b0fd6cc928655f82b39 /spec | |
| parent | 8523acee7cd4e7dc1a1ce57a8774bc82619b5523 (diff) | |
Correct floor definition
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/primitive.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/primitive.md b/spec/primitive.md index dc089cfa..26a05aa7 100644 --- a/spec/primitive.md +++ b/spec/primitive.md @@ -26,7 +26,7 @@ The three higher functions `×`, `÷`, and `⋆` apply to numbers and no other a In the first two cases, if the result would not be a valid Unicode code point, then an error results. The remaining cases of `+` and `-` (adding two characters; negating a character or subtracting it from a number) are not allowed. -Additionally, the **Floor** function `⌊` returns the largest integer smaller than the argument, or the argument itself if it is `¯∞` or `∞`. It's needed because the arithmetic operations give no fixed-time way to determine if a value is an integer. Floor gives an error if the argument is an atom other than a number. +Additionally, the **Floor** function `⌊` returns the largest integer smaller than or equal to the argument, or the argument itself if it is `¯∞` or `∞`. It's needed because the arithmetic operations give no fixed-time way to determine if a value is an integer. Floor gives an error if the argument is an atom other than a number. ### Comparison |
