John Benediktsson
|
37deaec528
|
random: random integers is 90% faster.
|
2011-10-14 18:52:41 -07:00 |
John Benediktsson
|
950f1e1c04
|
random: be> is faster (and they are random anyway)...
|
2011-10-11 22:31:21 -07:00 |
John Benediktsson
|
afc07c0e05
|
io.binary: make le> and be> faster (20% and 75%, respectively).
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
|
2011-10-11 21:13:30 -07:00 |
Joe Groff
|
8f6c6e5691
|
random: rewrite normal-random-float to be more readable
|
2011-09-09 18:13:17 -07:00 |
Slava Pestov
|
75560699ea
|
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
|
2010-12-25 16:55:36 -08:00 |
Doug Coleman
|
1f57dc326e
|
Remove many uses of <int> and *int etc
|
2010-10-25 12:49:12 -05:00 |
Slava Pestov
|
220dd88a2c
|
Update documentation for new help lint check
|
2010-02-19 12:31:52 +13:00 |
Doug Coleman
|
28adde8542
|
Fix using
|
2010-01-31 14:48:01 -06:00 |
Doug Coleman
|
f15ec31559
|
Better implementation of sample, fix docs formatting
|
2010-01-31 14:48:01 -06:00 |
Doug Coleman
|
4c71d71907
|
random is generic now -- iota random -> random
|
2010-01-14 12:48:57 -06:00 |
Doug Coleman
|
52f4a05fad
|
Make random a generic so it can still be called on integers
|
2010-01-15 07:15:35 +13:00 |
Slava Pestov
|
0612bc6177
|
Factor source files should not be executable
|
2009-11-21 17:50:43 -06:00 |
Doug Coleman
|
93de179c2f
|
over push -> suffix!, over push-all -> append!
|
2009-10-28 15:29:01 -05:00 |
Slava Pestov
|
951e3e9c83
|
delete-nth -> remove-nth!
|
2009-10-27 23:41:57 -05:00 |
Doug Coleman
|
ccc69a5ef4
|
fix bug in random-bytes* when no random-32* exists
|
2009-10-01 11:58:52 -05:00 |
Doug Coleman
|
ef237777c3
|
make random-32* the protocol again, add a random-32 word that doesn't scale the returned bits
|
2009-09-30 15:56:02 -05:00 |
Doug Coleman
|
61583862fa
|
fix seed-random, random-32* -> random-32
|
2009-09-30 03:22:11 -05:00 |
Doug Coleman
|
fa15da56ff
|
add sample word to random vocab
|
2009-09-23 12:04:06 -05:00 |
Doug Coleman
|
3f3d57032b
|
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
|
2009-08-13 19:21:44 -05:00 |
Slava Pestov
|
fb6df472a2
|
Cleaning up USING: lists for new strict semantics
|
2009-05-14 16:54:16 -05:00 |
Doug Coleman
|
0e0662ffc5
|
move random-bits* to random, work on docs
|
2009-05-10 13:39:08 -05:00 |
Joe Groff
|
fbb17ea7af
|
uniform-random-float speed
|
2009-05-06 17:26:21 -05:00 |
Joe Groff
|
6ea5ccd881
|
uniform and normal distributed random floats. uniform is done the lame way for now
|
2009-05-06 13:22:53 -05:00 |
Doug Coleman
|
0ad6d1fb7b
|
add a few usages of iota, remove most 1+ and 1- from core
|
2009-05-01 19:58:24 -05:00 |
Slava Pestov
|
25a877e50b
|
Merge OneEyed's patch
|
2009-02-28 17:06:55 -06:00 |
Samuel Tardieu
|
087d931c36
|
Remove the tail argument from do/until/while
|
2009-02-18 02:41:14 +01:00 |
Slava Pestov
|
634435d816
|
Merge branch 'master' into new_ui
|
2009-02-15 04:07:51 -06:00 |
Doug Coleman
|
99122a8fb1
|
use while to implement randomize (thanks joe!), document it
|
2009-02-14 14:25:48 -06:00 |
Doug Coleman
|
a0491606bc
|
fix { } randomize, more unit tests
|
2009-02-14 14:04:54 -06:00 |
Doug Coleman
|
1418a67cc6
|
unit test how many elements to swap with randomize, remove a usage of pick
|
2009-02-14 13:28:41 -06:00 |
Doug Coleman
|
0286c524e8
|
randomize was broken -- elements could not exchange with themselves
|
2009-02-14 13:14:00 -06:00 |
Slava Pestov
|
669548e62e
|
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
|
2009-02-02 13:43:54 -06:00 |
Slava Pestov
|
7cee0cdc2a
|
Load fix for random
|
2008-12-18 02:04:05 -06:00 |
Slava Pestov
|
2c9ec65acf
|
Move sequences.lib:randomize to random
|
2008-12-18 00:15:07 -06:00 |
Doug Coleman
|
db2f744f90
|
redo random-bytes* with a better algorithm
|
2008-11-12 22:10:34 -06:00 |
Doug Coleman
|
a8f1680bcd
|
slightly faster
|
2008-11-12 13:28:17 -06:00 |
Doug Coleman
|
b45c03877b
|
don't generate 4x the number of random bytes we actually need. map concat is slower than push-all
|
2008-11-12 12:40:09 -06:00 |
Slava Pestov
|
5def7c5dea
|
Don't load random number generator on bootstrap
|
2008-11-06 01:30:59 -06:00 |
U-SLAVA-DFB8FF805\Slava
|
0cfedcdc8d
|
Fix deploy size regresson
|
2008-10-05 22:08:13 -05:00 |
Slava Pestov
|
46c3f0def1
|
Remove unused error class
|
2008-10-05 20:31:48 -05:00 |
Doug Coleman
|
fad3d52bc1
|
remove random floats, better docs
|
2008-10-05 15:14:05 -05:00 |
Doug Coleman
|
6b3b48a106
|
random is generic, better random docs, cleanups
|
2008-10-04 11:44:12 -05:00 |
Slava Pestov
|
c19f2257f4
|
Fix permission bits
|
2008-10-02 08:34:49 -05:00 |
Doug Coleman
|
800b134fa7
|
random numbers were endian-dependent. clean up blum-blum-shub a bit
|
2008-09-11 01:11:17 -05:00 |
Doug Coleman
|
9e82c69489
|
clean up random
|
2008-09-10 16:57:53 -05:00 |
Doug Coleman
|
24642501e7
|
fix random for real. is there redundant math here?
|
2008-09-09 17:07:32 -05:00 |
Doug Coleman
|
d72114fcce
|
wrap -> mod again
|
2008-09-09 15:46:14 -05:00 |
Doug Coleman
|
7764242f66
|
make the random word actually return a number in the full range of the input and replace division words with bitwise ones
|
2008-09-09 15:39:40 -05:00 |
Doug Coleman
|
8a921c791c
|
if-empty changes
|
2008-09-06 19:13:59 -05:00 |
Slava Pestov
|
aea0fed14c
|
Fixing basis -> extra dependencies
|
2008-09-05 19:29:14 -05:00 |