Tuesday, January 7, 2014

Question about integer size and limits

":h limits" says that for maximum line length and max number of lines
the number 2147483647 is the hard limit.

For range of a number value (and maximum file size), however, it says
2147483647 or "more".

I see in the typedef for varnumber_T that on modern machines it will be
defined as "int". Now I wonder, can this ever be "more" than 2^31-1? Are
there any circumstances (compile flags/architectures) where (for
example) a Vim number could be greater than 2^31-1?

Best,


--
David

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: