* Problem with random numbers on the EM64T platform
@ 2006-02-18 15:49 Mikael Djurfeldt
2006-02-19 16:36 ` Mikael Djurfeldt
0 siblings, 1 reply; 3+ messages in thread
From: Mikael Djurfeldt @ 2006-02-18 15:49 UTC (permalink / raw)
Cc: Mikael Djurfeldt
I've compiled CVS HEAD on the EM64T platform (Xeon processor).
(random:uniform) gives results outside the intended interval [0,1[.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with random numbers on the EM64T platform
2006-02-18 15:49 Problem with random numbers on the EM64T platform Mikael Djurfeldt
@ 2006-02-19 16:36 ` Mikael Djurfeldt
2006-02-20 23:08 ` Marius Vollmer
0 siblings, 1 reply; 3+ messages in thread
From: Mikael Djurfeldt @ 2006-02-19 16:36 UTC (permalink / raw)
Cc: Mikael Djurfeldt
On 2/18/06, Mikael Djurfeldt <mdjurfeldt@gmail.com> wrote:
> I've compiled CVS HEAD on the EM64T platform (Xeon processor).
>
> (random:uniform) gives results outside the intended interval [0,1[.
I've now fixed this in CVS HEAD:
2006-02-19 Mikael Djurfeldt <mdj@neurologic.cc>
* random.c: Test for SCM_HAVE_T_UINT64 instead of
SCM_HAVE_T_INT64.
(scm_i_uniform32, scm_i_uniform32, scm_i_init_rstate): Use
scm_t_uint64 and scm_t_uint32 instead of scm_t_int64 and
scm_t_int32.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with random numbers on the EM64T platform
2006-02-19 16:36 ` Mikael Djurfeldt
@ 2006-02-20 23:08 ` Marius Vollmer
0 siblings, 0 replies; 3+ messages in thread
From: Marius Vollmer @ 2006-02-20 23:08 UTC (permalink / raw)
Cc: bug-guile
"Mikael Djurfeldt" <mdjurfeldt@gmail.com> writes:
> I've now fixed this in CVS HEAD:
Thanks! I 'ported' your fix to the relase_1-8 branch and it is in
1.8.0.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-20 23:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-18 15:49 Problem with random numbers on the EM64T platform Mikael Djurfeldt
2006-02-19 16:36 ` Mikael Djurfeldt
2006-02-20 23:08 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).