Hi Bram!

On Mo, 08 Nov 2010, Bram Moolenaar wrote:

> 
> Hong Xu wrote:
> 
> > The attachment is a patch which provides two pseudo-random number generating
> > functions for vimscript.
> 
> Well, the patch is a bit big, I wonder if it can be done in a simpler
> way.
> 
> At the same time, I think there should be a way to reset the seed to a
> known value.  Needed for testing at least.
> 
> Generating the float random number from an int looks strange.
> Is that really needed?  The computations look like we are dropping some
> bits.
> 
> For code style: please fix white space, match the rest of the file.

I posted a similar patch recently:
http://groups.google.com/group/vim_dev/msg/dd9e76787717c874

regards,
Christian

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

Raspunde prin e-mail lui