Commit Graph

21 Commits (a4f80bafce4e82c9a7cc364c475bcbf794e7331b)

Author SHA1 Message Date
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson 0e3d598e69 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Joe Groff 571ef865e6 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Slava Pestov 55fd15c45a Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Slava Pestov 40f58f27d6 specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length 2010-05-18 23:09:34 -04:00
Slava Pestov d2d466de29 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Doug Coleman 0ec2bf80da Add [1,b) to math.ranges. Use [1,b] in random.sfmt 2010-01-31 14:48:01 -06:00
Joe Groff 6757c85189 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff 38e58fca39 make vshuffle-bytes intrinsic for any shuffle mask type 2009-10-19 12:25:55 -05:00
Slava Pestov 1a7b00eaa6 random.sfmt: make it endian-agnostic 2009-10-19 05:22:43 -05:00
Doug Coleman 46c72d801e 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 18c8ae3705 inline a word in sfmt 2009-10-07 15:27:40 -05:00
Doug Coleman c1ce3afb4f correctly correct the SFMT period 2009-10-07 15:06:59 -05:00
Doug Coleman bc9742e1aa correct the output of random.sfmt 2009-10-07 13:42:37 -05:00
Doug Coleman 193551b4e2 add unit test for seeding 2009-10-02 01:55:18 -05:00
Doug Coleman 82e6706af7 add seed-random method to random.sfmt, fix formatting 2009-10-02 01:54:17 -05:00
Doug Coleman 76a109942f remove m-n-as-a-slot 2009-10-02 01:32:11 -05:00
Doug Coleman 7063f43952 optimizing random.sfmt 2009-10-02 01:18:18 -05:00
Doug Coleman db68f7f1bd sfmt uses some simd now 2009-10-02 00:40:55 -05:00
Doug Coleman 98c18e61b9 cleaning up sfmt 2009-10-02 00:21:48 -05:00
Doug Coleman 1ec00f0d65 initial checkin of random.sfmt so i can refactor it 2009-10-02 00:07:29 -05:00