summaryrefslogtreecommitdiff
path: root/libguile/random.c
AgeCommit message (Expand)AuthorFilesLines
2013-02-25Update copyright dates on random.cMark H Weaver1-1/+2
2013-02-25random_state_of_last_resort: use getpid directly, instead of scm_getpidMark H Weaver1-2/+9
2013-02-25Revert "random_state_of_last_resort doesn't rely on HAVE_POSIX"Mark H Weaver1-6/+3
2013-02-25Revert "random-state-from-platform: simplify pid conditional, and clarify docs."Mark H Weaver1-8/+9
2013-02-24random-state-from-platform: simplify pid conditional, and clarify docs.Mark H Weaver1-9/+8
2013-02-24random_state_of_last_resort doesn't rely on HAVE_POSIXAndy Wingo1-3/+6
2012-01-21Add `random-state-from-platform' and `scm_i_random_bytes_from_platform'Mark H Weaver1-0/+101
2011-02-09fix typos in the manual bits generated from source comments.Ralf Wildenhues1-1/+1
2010-11-19fix a number of assuptions that a long could hold an inumAndy Wingo1-4/+4
2010-08-01Fix the range of `random' on 64-bit platformsAndreas Rottmann1-15/+27
2010-07-2764-bit random fixesAndy Wingo1-3/+20
2010-07-26rstates point to rngsAndy Wingo1-19/+23
2010-07-26update docsAndy Wingo1-4/+2
2010-07-26refactor datum->random-state / random-state->datumAndy Wingo1-38/+50
2010-07-26low-level RNG interfaces deal in scm_t_uint32, not unsigned longAndy Wingo1-54/+28
2010-07-26remove SCM_HAVE_T_INT64, SCM_HAVE_T_UINT64Andy Wingo1-34/+0
2010-07-26Allow exposing of random number generator stateAndreas Rottmann1-4/+68
2010-07-19Fix random number generator on 64-bit platformsAndreas Rottmann1-1/+27
2009-08-28Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès1-2/+3
2009-08-18Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès1-6/+7
2009-07-19generic vector ops to own fileAndy Wingo1-0/+1
2009-07-19rename unif.[ch] to arrays.[ch]Andy Wingo1-2/+2
2009-06-17Change Guile license to LGPLv3+Neil Jerram1-6/+7
2008-09-13Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès1-1/+1
2008-09-13Include <config.h> in all C files; use `#ifdef HAVE_CONFIG_H' rather than `#if'.Ludovic Courtès1-1/+1
2008-09-10Use `scm_gc_malloc_pointerless' in various places (improves performance).Ludovic Courtes1-4/+8
2008-09-05Removed a lot of now-useless SMOB mark/free functions.Ludovic Courtes1-9/+4
2006-04-17merge from 1.8 branchKevin Ryde1-1/+1
2006-02-19Test for SCM_HAVE_T_UINT64 instead ofMikael Djurfeldt1-11/+11
2005-11-26(scm_i_copy_rstate, scm_c_make_rstate): Don't test forKevin Ryde1-5/+1
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2005-01-23(scm_i_init_rstate): Compare w to -1 not 0xffffffffUL, nowKevin Ryde1-1/+1
2005-01-17(scm_random_solid_sphere_x): Use scm_c_generalized_vector_lengthMarius Vollmer1-1/+1
2005-01-15(scm_random_solid_sphere_x): Update docstring from manual.Kevin Ryde1-6/+5
2005-01-14Don't check for definedness of SCM_HAVE_T_INT64, checkMarius Vollmer1-1/+1
2005-01-06(scm_array_handle_release): New, changed all uses ofMarius Vollmer1-1/+6
2005-01-02Use new vector elements API or simple vector API, as appropriate.Marius Vollmer1-31/+40
2004-12-27(scm_uniform_vector_elements,Marius Vollmer1-6/+6
2004-11-02(scm_random_solid_sphere_x, scm_random_hollow_sphere_x): Do notMarius Vollmer1-2/+0
2004-10-27(vector_scale, vector_scale_x): Renamed former to theMarius Vollmer1-29/+57
2004-08-19* strings.h, strings.c: (scm_i_string_chars, scm_i_string_length,Marius Vollmer1-5/+5
2004-08-12* socket.c, rw.c, deprecated.h, validate.hMarius Vollmer1-2/+6
2004-08-03(scm_make_real, scm_num2dbl, scm_float2num, scm_double2num):Marius Vollmer1-6/+6
2004-07-23* deprecated.h, deprecated.c, numbers.h (SCM_INUMP, SCM_NINUMP,Marius Vollmer1-7/+7
2004-07-10* validate.h, deprecated.h (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,Marius Vollmer1-1/+2
2004-07-08* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM toMarius Vollmer1-1/+1
2003-04-16* random.c (scm_c_random_bignum): use SCM_CHAR_BIT.Rob Browning1-3/+4
2003-04-07* random.c: #include gmp.h.Rob Browning1-4/+2
2003-04-06* random.c (scm_c_default_rstate): Use SCM_VARIABLE_REF to accessMikael Djurfeldt1-1/+1
2003-04-06* random.c (scm_c_random_bignum): Don't generate a random numberMikael Djurfeldt1-7/+4