Permalink
Commits on Jul 17, 2010
  1. added NIF_LOAD_INFO as the version number (begins with 101) in c_src/…

    …sfmt_nif.c and src/sfmt.erl
    committed Jul 17, 2010
  2. simplified BSDmakefile

    committed Jul 17, 2010
  3. added nif stubs to src/sfmt.erl

    committed Jul 17, 2010
Commits on Jul 16, 2010
  1. removed c_src/sfmt_nif.h and merged the contents into c_src/sfmt_nif.…

    …c; also SFMT parameter macros modified (by adding parentheses to the raw integers)
    committed Jul 16, 2010
  2. removed gen_rand32/2 and gen_rand_float/2 from C NIF library and made…

    … the Erlang version official; unnecessary NIF pointers removed
    committed Jul 16, 2010
  3. support/getrebar script added from Tuncer Ayaz's re2; Makefile accord…

    …ingly changed (now for GNU Make only); README.md also changed accordingly
    committed Jul 16, 2010
  4. removed old README

    committed Jul 16, 2010
  5. README.md cleaned up

    committed Jul 16, 2010
  6. README.md reformatted from README

    committed Jul 16, 2010
Commits on Jul 14, 2010
Commits on Jul 13, 2010
  1. README for 0.3.1_RELEASE

    committed Jul 13, 2010
  2. Added back list code to gen_rand32.

    Having both an implementation in erlang and 'C' makes it simple to do
    measurements. This commit uses the lists, if you want the nifnized
    functions uncomment the function registrations in sfmt_nif.c
    dgud committed with Jul 13, 2010
Commits on Jul 12, 2010
  1. Remove Size restrictions in gen_rand_list* functions.

    The size had the following restrictions,
    size > N32 and size % 4 == 0.
    dgud committed with Jul 12, 2010
  2. Fixed my convenience function which was moved to nif and added nifniz…

    …ed gen_rand_float
    
    Two different things in the same commit, sorry.
    Added the possibility to send only state to gen_rand32/1 again,
    this functionality was lost in rebase of dev.
    
    Added the same functionality for gen_rand_float/1.
    Actually this is slower than previously, at least in my measurements.
    I.e. the list variant was faster.
    dgud committed with Jul 12, 2010
  3. Add gen_rand_float functions.

    Since this code is made to be fast move the float multiplication
    to the c-code.
    dgud committed with Jul 12, 2010
  4. Make comparable measurments.

    dgud committed with Jul 12, 2010
  5. Make seed/0 compatible with random

    dgud committed with Jul 12, 2010
  6. Improved the priv dir finding.

    dgud committed with Jul 12, 2010
  7. commented out local mod of CC on rebar.config; gcc or cc works on Fre…

    …eBSD for the CC value
    committed Jul 12, 2010
Commits on Jul 11, 2010
  1. ran_sfmt() is now {integer(), intstate()} where integer() means eleme…

    …nt index in the internal state table; get_rand32/1 changed accordingly
    committed Jul 11, 2010
  2. removed NIFnized gen_rand32/1 from src/sfmt.erl; also changed 'undefi…

    …ned' to 'error_nifnized' in src/sfmt.erl
    committed Jul 11, 2010