diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-21 21:42:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-21 21:42:31 +0100 |
commit | 57d5a01cb45d6edb16c3835a49b42d6d8fc0163e (patch) | |
tree | 114ec9c7507b14f7a4de6495a89310183e7f04da /runtime | |
parent | e32e516dfa46e9c5965d278f96aaf57573de8ac4 (diff) | |
download | vim-git-57d5a01cb45d6edb16c3835a49b42d6d8fc0163e.tar.gz |
patch 8.2.2388: no easy way to get the maximum or mininum number valuev8.2.2388
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 217e69dc0..dd5bc939d 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.2. Last change: 2021 Jan 17 +*eval.txt* For Vim version 8.2. Last change: 2021 Jan 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2082,6 +2082,12 @@ v:null An empty String. Used to put "null" in JSON. See That is so that eval() can parse the string back to the same value. Read-only. + *v:numbermax* *numbermax-variable* +v:numbermax Maximum value of a number. + + *v:numbermix* *numbermix-variable* +v:numbermin Minimum value of a number (negative) + *v:numbersize* *numbersize-variable* v:numbersize Number of bits in a Number. This is normally 64, but on some systems it may be 32. |