1
0
forked from aniani/vim

patch 8.2.2388: no easy way to get the maximum or mininum number value

Problem:    No easy way to get the maximum or mininum number value.
Solution:   Add v:numbermax and v:numbermin.
This commit is contained in:
Bram Moolenaar
2021-01-21 21:42:31 +01:00
parent e32e516dfa
commit 57d5a01cb4
5 changed files with 47 additions and 30 deletions

View File

@@ -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.