public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Jari Häkkinen" <jari@chiralcomp.com>
To: Brian Gough <bjg@network-theory.co.uk>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: rng question
Date: Sat, 17 Dec 2005 23:58:00 -0000	[thread overview]
Message-ID: <43A4A628.1010405@chiralcomp.com> (raw)
In-Reply-To: <17316.16834.391844.942881@hp2.network-theory.co.uk>

Thank you, I tested the latest CVS and GSL now behaves as expected.


Jari


Brian Gough wrote:
> Jari Häkkinen writes:
>  > No, the attached program does not return from the call to 
>  > gsl_rng_uniform_int.
>  > 
>  > The problem shows up on my powermac running MacOSX 10.4.3 with gcc 
>  > version powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple 
>  > Computer, Inc. build 4061).
>  > I compile GSL from CVS (20051208 = today) with with flags -NDEBUG -O2. 
>  > The test program is compiled with a plain 'gcc -o rnd_test rnd_test.c 
>  > -lgsl'.
>  > 
>  > Now, I also run the test program on a SuSE based machine, and the call 
>  > fails with an floating point exception as expected.
> 
> Thanks. I've added a test to catch the case n=0 and return an error, and
> added some notes in the documentation to explain how the function works.
> 

  reply	other threads:[~2005-12-17 23:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07 10:25 Jari Häkkinen
2005-12-07 20:07 ` Brian Gough
2005-12-09 13:49   ` Jari Häkkinen
2005-12-17 16:50     ` Brian Gough
2005-12-17 23:58       ` Jari Häkkinen [this message]
2008-08-03 23:32 RNG question Robert G. Brown
2008-08-05  9:05 ` Fabian Bastin
2008-08-08 11:12 ` Brian Gough
2008-08-08 12:33   ` Robert G. Brown
2008-08-11 20:47     ` Brian Gough
2008-08-18 21:12     ` Robert G. Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43A4A628.1010405@chiralcomp.com \
    --to=jari@chiralcomp.com \
    --cc=bjg@network-theory.co.uk \
    --cc=gsl-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).