Commit Graph

91 Commits (72b371293714fa1736382572afcf61fcd8bdedd6)

Author SHA1 Message Date
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
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
Doug Coleman d660dd4ed6 fix typo 2009-05-22 17:18:24 -05:00
Doug Coleman 92ecb2f3be fix random.windows -- use CRYPT_MACHINE_KEYSET 2009-05-22 17:15:40 -05:00
Doug Coleman 57d38b1dd0 better factoring 2009-05-20 20:08:26 -05:00
Doug Coleman ef3656aea8 try to fall back on AES if RSA isn't found 2009-05-20 20:06:05 -05:00
Doug Coleman 52e959e6a1 call the word that attempts both crypto contexts 2009-05-20 19:40:52 -05:00
Doug Coleman 91834fb336 fix error handling in random.windows if acquiring the crypto context fails 2009-05-20 19:30:35 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -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
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06: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