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

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

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

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

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

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

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

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

    dgud committed with jj1bdx Jul 13, 2010
    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
Commits on Jul 12, 2010
  1. Remove Size restrictions in gen_rand_list* functions.

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

    dgud committed with jj1bdx Jul 12, 2010
    …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.
  3. Add gen_rand_float functions.

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

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

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

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

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

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

    jj1bdx committed Jul 11, 2010
    …ned' to 'error_nifnized' in src/sfmt.erl
  3. README changed for 0.3.0_RELEASE

    jj1bdx committed Jul 11, 2010
  4. added rebar.config

    jj1bdx committed Jul 11, 2010
  5. added rebar binary

    jj1bdx committed Jul 11, 2010