caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eric Dahlman <edahlman@atcorp.com>
To: Diego Olivier Fernandez Pons <Diego.FERNANDEZ_PONS@etu.upmc.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Rounding mode
Date: Thu, 13 Nov 2003 09:47:32 -0600	[thread overview]
Message-ID: <3FB3A794.5030704@atcorp.com> (raw)
In-Reply-To: <Pine.A41.4.44.0311121746120.3178538-100000@ibm1.cicrp.jussieu.fr>

Hi Diego,

I looked at that page thanks a bunch!  That was just what I was hoping 
for and it answered many of my questions.

-Eric


Diego Olivier Fernandez Pons wrote:

>     Bonjour,
> 
> 
>>Somewhat off topic but why is this necessary from a numerical math
>>type of perspective. I am honestly curious as I don't see how this
>>would interact with the calculation in a meaningful way.
> 
> 
> You are right when you say that there are many sources of errors in
> numerical computations and that rounding errors are usually
> insignificant with respect to them.
> 
> The point is that stochastic arithmetic (and its deterministic variant
> interval arithmetic) are useful to find where the accurancy of your
> computation is falling drastically (e.g. cancellations)
> 
> I really haven't the place to explain extensively how CESTAC works but
> there are a few explanations in the ANP website
> 
>    http://anp.lip6.fr/cadna/Accueil.php
> 
> (CADNA for C/C++ source codes, user's guide. Chapter 4. Survey of the
> CESTAC method. Many examples also on the homepages).
> 
> The main idea is that in a first order approximation, the number of
> significant digits of a result can be estimated with respects to the
> dispersion of the different values it can take using several rounding
> modes.
> 
> Then, you can avoid doing unstable computations like dividing by a
> small number (epsilon) very noised which makes you believe it is a
> good 'pivot' in a gaussian resolution, etc. The whole computation will
> then give a more accurate value.
> 
> The website gives an example where usual gauss method finds
> 
>    x1 = 60 x2 = - 8.9 x3 = 0.0 and x4 = 1.0
> 
> when you estimate the errors, you find
> 
>    x1 = 1.0 x2 = 1.0 x3 = 0.1 e-07 and x4 = 1.0
> 
> exact values are
> 
>    x1 = 1 x2 = 1 x3 = 0.1 e-07 x4 = 1
> 
> The difference is only due to a 'bad' pivot succesfully detected and
> therefore avoided.
> 
> 
>         Diego Olivier
> 
> 
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> 


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-11-13 15:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 17:27 [Caml-list] Efficient and canonical set representation? Fred Smith
2003-11-10 13:24 ` Diego Olivier Fernandez Pons
2003-11-10 13:49   ` [Caml-list] Rounding mode Christophe Raffalli
2003-11-10 14:10     ` Eric Dahlman
2003-11-10 18:03       ` Brian Hurt
2003-11-10 20:35         ` Eric Dahlman
2003-11-10 23:09           ` Brian Hurt
2003-11-17 21:15             ` Xavier Leroy
2003-11-12 17:19           ` Diego Olivier Fernandez Pons
2003-11-13 15:47             ` Eric Dahlman [this message]
2003-11-17 17:03             ` Diego Olivier Fernandez Pons
2003-11-10 21:23       ` Christophe Raffalli
     [not found]     ` <16305.25815.3793.545198@karryall.dnsalias.org>
2003-11-12 15:35       ` [Caml-list] Rounding mode + extended Christophe Raffalli
2003-11-13 17:35         ` Xavier Leroy
2003-11-10 19:28   ` [Caml-list] Efficient and canonical set representation? Julien Signoles

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=3FB3A794.5030704@atcorp.com \
    --to=edahlman@atcorp.com \
    --cc=Diego.FERNANDEZ_PONS@etu.upmc.fr \
    --cc=caml-list@inria.fr \
    /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 NNTP newsgroup(s).