Searched refs:scm_the_rng (Results 1 – 10 of 10) sorted by relevance
/dports/lang/guile1/guile-1.8.8/libguile/ |
H A D | random.c | 56 scm_t_rng scm_the_rng; variable 111 scm_t_rstate *new_state = scm_malloc (scm_the_rng.rstate_size); in scm_i_copy_rstate() 112 return memcpy (new_state, state, scm_the_rng.rstate_size); in scm_i_copy_rstate() 123 scm_t_rstate *state = scm_malloc (scm_the_rng.rstate_size); in scm_c_make_rstate() 125 scm_the_rng.init_rstate (state, seed, n); in scm_c_make_rstate() 146 return ((x + (double) scm_the_rng.random_bits (state)) in scm_c_uniform01() 197 while ((r = scm_the_rng.random_bits (state) & mask) >= m); in scm_c_random32() 219 | scm_the_rng.random_bits (state)) >= m) in scm_c_random64() 280 *current_chunk-- = scm_the_rng.random_bits (state); in scm_c_random_bignum() 376 return make_rstate (scm_the_rng.copy_rstate (SCM_RSTATE (state))); [all …]
|
H A D | random.h | 54 SCM_API scm_t_rng scm_the_rng; variable 77 #define scm_c_uniform32(RSTATE) scm_the_rng.random_bits (RSTATE)
|
/dports/lang/guile2/guile-2.2.7/libguile/ |
H A D | random.c | 63 scm_t_rng scm_the_rng; variable 175 state = scm_gc_malloc_pointerless (scm_the_rng.rstate_size, in scm_c_make_rstate() 177 state->rng = &scm_the_rng; in scm_c_make_rstate() 188 state = scm_gc_malloc_pointerless (scm_the_rng.rstate_size, in scm_c_rstate_from_datum() 190 state->rng = &scm_the_rng; in scm_c_rstate_from_datum() 817 scm_the_rng = rng; in scm_init_random()
|
H A D | random.h | 56 SCM_API scm_t_rng scm_the_rng; variable
|
/dports/lang/guile/guile-3.0.7/libguile/ |
H A D | random.c | 75 scm_t_rng scm_the_rng; variable 187 state = scm_gc_malloc_pointerless (scm_the_rng.rstate_size, in scm_c_make_rstate() 189 state->rng = &scm_the_rng; in scm_c_make_rstate() 200 state = scm_gc_malloc_pointerless (scm_the_rng.rstate_size, in scm_c_rstate_from_datum() 202 state->rng = &scm_the_rng; in scm_c_rstate_from_datum() 828 scm_the_rng = rng; in scm_init_random()
|
H A D | random.h | 55 SCM_API scm_t_rng scm_the_rng; variable
|
/dports/lang/guile1/guile-1.8.8/ |
H A D | NEWS | 4932 The variable `scm_the_rng' in random.c contains a value and three 4940 *** Variable: size_t scm_the_rng.rstate_size 4944 *** Function: unsigned long scm_the_rng.random_bits (scm_rstate *STATE) 4947 *** Function: void scm_the_rng.init_rstate (scm_rstate *STATE, chars *S, int N) 4950 *** Function: scm_rstate *scm_the_rng.copy_rstate (scm_rstate *STATE) 4967 These functions are provided through the scm_the_rng interface for use 4983 These functions use the current RNG through the scm_the_rng interface.
|
/dports/lang/guile2/guile-2.2.7/ |
H A D | NEWS | 10574 The variable `scm_the_rng' in random.c contains a value and three 10582 *** Variable: size_t scm_the_rng.rstate_size 10586 *** Function: unsigned long scm_the_rng.random_bits (scm_rstate *STATE) 10589 *** Function: void scm_the_rng.init_rstate (scm_rstate *STATE, chars *S, int N) 10592 *** Function: scm_rstate *scm_the_rng.copy_rstate (scm_rstate *STATE) 10609 These functions are provided through the scm_the_rng interface for use 10625 These functions use the current RNG through the scm_the_rng interface.
|
H A D | ChangeLog | 46802 `scm_the_rng'.
|
/dports/lang/guile/guile-3.0.7/ |
H A D | NEWS | 11471 The variable `scm_the_rng' in random.c contains a value and three 11479 *** Variable: size_t scm_the_rng.rstate_size 11483 *** Function: unsigned long scm_the_rng.random_bits (scm_rstate *STATE) 11486 *** Function: void scm_the_rng.init_rstate (scm_rstate *STATE, chars *S, int N) 11489 *** Function: scm_rstate *scm_the_rng.copy_rstate (scm_rstate *STATE) 11506 These functions are provided through the scm_the_rng interface for use 11522 These functions use the current RNG through the scm_the_rng interface.
|