public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Frank Reininghaus <frank78ac@googlemail.com>
To: "Jochen Küpper" <jochen@fhi-berlin.mpg.de>
Cc: gsl-discuss@sourceware.org
Subject: Re: Bug report and fix for adaptive step size control in ODE solving
Date: Wed, 02 Jan 2008 18:51:00 -0000	[thread overview]
Message-ID: <477BDBEE.2000603@googlemail.com> (raw)
In-Reply-To: <0E55B479-624E-4F88-B511-CDFF93435D9E@fhi-berlin.mpg.de>

Hi Jochen,

Jochen Küpper wrote:
> However, why don't you test what you really describe your comment? 
> This would look like the following (untested):
>
>   h0 = GSL_MAX_DBL(GSL_DBL_MIN, (t0 != t0+h0) ? h0 : GSL_DBL_EPSILON*t0);
Actually, I had been thinking of something like that first, but then I 
was afraid that an optimising compiler might transform 't0 != t0+h0' 
into '0 != h0', making the patch useless for the 'h0 < 
GSL_DBL_EPSILON*t0' problem.

Regards,
Frank

  reply	other threads:[~2008-01-02 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 22:14 Frank Reininghaus
2008-01-02 13:40 ` Kevin H. Hobbs
2008-01-02 14:18 ` Jochen Küpper
2008-01-02 18:51   ` Frank Reininghaus [this message]
2008-01-03  9:01     ` Unwanted compiler optimization (was: Bug report and fix for adaptive step size control in ODE solving) Jochen Küpper
2008-01-04 10:44       ` Brian Gough
2008-01-03  5:15 ` Bug report and fix for adaptive step size control in ODE solving Michael Stauffer
2008-01-03 15:54 ` Brian Gough
2008-01-04  9:46 ` Brian Gough

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=477BDBEE.2000603@googlemail.com \
    --to=frank78ac@googlemail.com \
    --cc=gsl-discuss@sourceware.org \
    --cc=jochen@fhi-berlin.mpg.de \
    /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).