mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
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.
57d5a01cb4
This commit is contained in:
@@ -1794,6 +1794,12 @@ v:null Special value used to put "null" in JSON and NIL in msgpack.
|
||||
operator) and to zero when used as a Number (e.g. in |expr5|
|
||||
or |expr7| when used with numeric operators). 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.
|
||||
|
||||
Reference in New Issue
Block a user