On 10/29/07, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
>
> Uniformly-distributed integers can be generated with the
> random-mtzig:random! procedure.
procedure: random-mtzig:random! :: STATE -> INTEGER
Returns a random integer value between 0 and the largest
machine-representable unsigned integer
On 10/29/07, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
>
> What platform is this on?
cygwin
> Instead of commenting out the typedefs,
> could you please rename all the type definitions in randmtzig.c and
> random-mtzig.scm as follows:
>
> Original:
>
> typedef signed char int8_t;
> ...
>
> Modifi
Ok, I'm getting build problems between data definitions in stdint.h
and some of the source code in random-mtzig
Here was the first error I got:
downloading random-mtzig.egg from
(www.call-with-current-continuation.org eggs 80) .
gunzip -c ../random-mtzig.egg | tar xf -
/usr/local/bin/csc -fea
I want all calls to gcc from Chicken csc to pass
-D__uint32_t_defined -D__int8_t_defined
but I do not know how to modify this compile call so that happens.
please advise:
(compile -O -d2 -X easyffi -s -o random-mtzig.so
,@(if has-exports? '(-check-imports -emit-exports
random-mtzig.exp
Uniformly-distributed integers can be generated with the
random-mtzig:random! procedure. I do need to make the example
consistent with the API, thanks for pointing that out. Initially, the
procedures in that egg were not reentrant, and the state was global. I
forgot to update the example when I
On 10/28/07, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>Does the random-mtzig egg do what you need?
It looks better, because you just seed the state as you please and
then consistently pass the state. This means I can have one RNG that
uses the same seed across interpreter invocation
Soulds really cool!
One question is why its backend is spiffy, and not http-server.
Is it possible to have an additional backend for http-server?
--daishi
On 10/27/07, Peter Bex <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I just made a new egg called "web-unity". Its purpose is pretty simple:
> it
Hello,
Does the random-mtzig egg do what you need? It can be seeded from
/dev/urandom, or with a constant supplied by the user, and you could
have multiple seed states that are passed to the random number
generating routines in the egg. I can also add some convenience
functions, if they would
In addition to the bug I filed on this egg - http://trac.callcc.org/ticket/346
I have a question about common usage of this module.
I would like to produce one function, roll-fixed, which produces
pseudorandom numbers in the documented fashion of random-real and
random in SRFI-27. Such that the s
hi,
imho the uri-encode-query function escapes too few characters, e.g.
in the following example + and & should have been escaped to not
be misinterpreted when decoding:
#;4> (uri-encode-query '(("foo" . "test & co") ("bar" . "quux+bla")))
"foo=test+&+co&bar=quux+bla"
#;5> (uri-decode-query "foo=
Re: http://galinha.ucpel.tche.br:8080//Unit%20extras#random
Do the numbers from the unit extras random function follow a uniform
distribution?
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-user
11 matches
Mail list logo