Mercurial > vim
view src/testdir/sautest/autoload/foo.vim @ 18732:2513e666aa82 v8.1.2356
patch 8.1.2356: rand() does not use the best algorithm
Commit: https://github.com/vim/vim/commit/f8c1f9200c4b50969a8191a4fe0b0d09edb38979
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 28 22:13:14 2019 +0100
patch 8.1.2356: rand() does not use the best algorithm
Problem: rand() does not use the best algorithm.
Solution: use xoshiro128** instead of xorshift. (Kaito Udagawa,
closes #5279)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Nov 2019 22:15:04 +0100 |
parents | 9ffec4eb8d33 |
children | 6e1b0c4ab668 |
line wrap: on
line source
let g:loaded_foo_vim += 1 let foo#bar = {} func foo#bar.echo() let g:called_foo_bar_echo += 1 endfunc func foo#addFoo(head) return a:head .. 'foo' endfunc