Daniel Ehrenberg
434605c0b5
Changing some uses of prune to use members
2010-02-27 13:14:03 -05:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Doug Coleman
4a7845e52c
Add [1,b) to math.ranges. Use [1,b] in random.sfmt
2010-01-31 14:48:01 -06: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
1f76ab2d45
try-find is just attempt-all. oops
2010-01-28 23:28:11 -06:00
Doug Coleman
4edc37b70c
clean up random.windows init hook, and add another crypto provider
2010-01-28 22:45:19 -06:00
Doug Coleman
4c71d71907
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Doug Coleman
7dc60e3625
Update docs for random
2010-01-14 12:45:30 -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
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Joe Groff
67cc1c01be
Merge branch 'master' into simd-cleanup
2009-11-26 16:14:46 -08:00
Joe Groff
ac5d3d5652
remove SIMDS:
2009-11-26 11:15:46 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
5ccce283fa
Various Windows load fixes
2009-11-21 17:24:37 -06:00
Slava Pestov
ffd7de02d6
Update a few places that used string C type names to use words; fixes some deploy tests
2009-11-20 03:21:48 -06:00
Doug Coleman
2e0c85cf42
remove disposable for now
2009-11-18 10:01:00 -06:00
Doug Coleman
472e77cb00
don't clean up windows rng yet, needs refactoring first
2009-11-30 16:59:40 -06:00
Doug Coleman
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -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
5b4c1aea5d
run bootstrap and startup hooks inside a with-destructors. use &dispose instead of setting shutdown hooks in a couple of places
2009-10-20 18:26:10 -04:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Joe Groff
b411f1701a
make vshuffle-bytes intrinsic for any shuffle mask type
2009-10-19 12:25:55 -05:00
Slava Pestov
2b868bd1c3
random.sfmt: make it endian-agnostic
2009-10-19 05:22:43 -05:00
Doug Coleman
21c9da7c5f
revert loading sfmt by default
2009-10-07 21:41:12 -05:00
Doug Coleman
83bc4907d4
load random.sfmt by default, and use it as default random-generator if sse2 is present
2009-10-07 21:05:51 -05:00
Doug Coleman
3d2237c2b8
inline a word in sfmt
2009-10-07 15:27:40 -05:00
Doug Coleman
fbdfbe2fa4
correctly correct the SFMT period
2009-10-07 15:06:59 -05:00
Doug Coleman
211eff745a
correct the output of random.sfmt
2009-10-07 13:42:37 -05:00
Doug Coleman
67167cf9ea
Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
19b2466bda
add unit test for seeding
2009-10-02 01:55:18 -05:00
Doug Coleman
4cb927722d
add seed-random method to random.sfmt, fix formatting
2009-10-02 01:54:17 -05:00
Doug Coleman
907e401542
remove m-n-as-a-slot
2009-10-02 01:32:11 -05:00
Doug Coleman
1239984625
optimizing random.sfmt
2009-10-02 01:18:18 -05:00
Doug Coleman
b8e5e84df3
sfmt uses some simd now
2009-10-02 00:40:55 -05:00
Doug Coleman
926ed2d5e1
cleaning up sfmt
2009-10-02 00:21:48 -05:00
Doug Coleman
f3ef312e83
initial checkin of random.sfmt so i can refactor it
2009-10-02 00:07:29 -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
129b741437
fix the help lints
2009-09-30 18:52:01 -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
73d2099faf
add tests file for random.dummy
2009-09-30 03:23:01 -05:00
Doug Coleman
61583862fa
fix seed-random, random-32* -> random-32
2009-09-30 03:22:11 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Doug Coleman
204da68c23
link to sample
2009-09-23 12:24:50 -05:00
Doug Coleman
fa15da56ff
add sample word to random vocab
2009-09-23 12:04:06 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00