Ken Takata wrote:

> 2016/1/25 Mon 8:13:42 UTC+9 Ken Takata wrote:
> > Hi,
> > 
> > 2016/1/22 Fri 21:00:16 UTC+9 Ken Takata wrote:
> > > Hi,
> > > 
> > > 2016/1/21 Thu 21:48:44 UTC+9 Ken Takata wrote:
> > > > Hi mattn and all,
> > > > 
> > > > I think that supporting 64-bit Number (even on 32-bit systems) is very 
> > > > useful.
> > > > One of the best examples is getfsize() as mattn said.  32-bit Number is 
> > > > too
> > > > small to represent a filesize nowadays.
> > > > 
> > > > 
> > > > 2014/1/6 Mon 15:34:44 UTC+9 mattn wrote:
> > > > > https://gist.github.com/mattn/8278843
> > > > > 
> > > > > This is in progress.
> > > > 
> > > > I have updated mattn's patch:
> > > > https://bitbucket.org/k_takata/vim-ktakata-mq/src/fd966d51f56b69e02d9ebb984355f692b73b2260/num64.patch?at=default&fileviewer=file-view-default
> > > > 
> > > > Changes are:
> > > > 
> > > > * Sync with the latest codebase.
> > > > * VC9 or earlier doesn't have stdint.h, int64_t and uint64_t.
> > > >   Use __int64 for old Windows compilers.
> > > > * Define FEAT_NUM64 in feature.h.
> > > >   (If someone doesn't like this feature, s/he can disable this by 
> > > > editing
> > > >   feature.h.)
> > > > * Display +/-num64 in :version.
> > > > * Add has('num64').
> > > > * Adjust the behaviour when dividing by 0. (:help expr-/)
> > > > * Adjust the behaviour of float2nr().
> > > > 
> > > > I confirmed that getfsize() returned a right value even if the filesize 
> > > > was
> > > > over 2 GiB. (My largefile patches are also needed.)
> > > > I also confirmed that all existing tests passed.
> > > > 
> > > > Of cause, more tests are needed, and documents should be updated.
> > > > 
> > > > (See also: [patch] Always use long for vimscript Numbers
> > > > https://groups.google.com/d/topic/vim_dev/Ju0DDCqeuMc/discussion )
> > > 
> > > I have updated the patch and divided it into two:
> > > https://bitbucket.org/k_takata/vim-ktakata-mq/src/ec8fa710e76975724c30d0f84c02e1460e5bb705/num64.patch?at=default&fileviewer=file-view-default
> > > https://bitbucket.org/k_takata/vim-ktakata-mq/src/ec8fa710e76975724c30d0f84c02e1460e5bb705/incdec64.patch?at=default&fileviewer=file-view-default
> > > 
> > > If incdec64.patch is applied, incrementing/decrementing with <C-A>/<C-X> 
> > > uses
> > > 64-bit integer on supported platforms. (Currently, 64-bit int is used on 
> > > 64-bit
> > > Linux but not on 64-bit Windows.)
> > 
> > I have updated the paches:
> > https://bitbucket.org/k_takata/vim-ktakata-mq/src/d1b6fe7c1f38ffc8d7fda03fda31d0dec6a5cbd1/num64.patch?fileviewer=file-view-default
> > https://bitbucket.org/k_takata/vim-ktakata-mq/src/d1b6fe7c1f38ffc8d7fda03fda31d0dec6a5cbd1/incdec64.patch?fileviewer=file-view-default
> > 
> > Now, vim_snprintf() supports 64-bit formats (%lld, etc.).
> 
> Here are the updated num64 patches for 7.4.1202 (including docs).
> Also available on my bitbucket repository:
> https://bitbucket.org/k_takata/vim-ktakata-mq/src

Thanks.  I'm going to change the function declarations today, this
probably means it's going to change again...  After that everything will
be better!

-- 
hundred-and-one symptoms of being an internet addict:
84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui