From: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
To: Eric Dahlman <edahlman@atcorp.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Rounding mode
Date: Mon, 10 Nov 2003 22:23:41 +0100 [thread overview]
Message-ID: <3FB001DD.3030508@univ-savoie.fr> (raw)
In-Reply-To: <3FAF9C64.7090504@atcorp.com>
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
Eric Dahlman wrote:
> Christophe Raffalli wrote:
>
>>
>> I saw a previous discussion about rounding mode for OCaml (in 2000).
>>
>> As anyone implemented the functions to change the rounding mode for
>> floating point from OCaml (possibly as a patch to add primitives and
>> save a C function call) ?
>>
>> This is necessary to implement interval arithmetic ...
>
>
> 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.
>
> -Eric
>
interval arithmetic proceeds by computing not one appriximation of a
real number x but an interval containing x. To add two intervals, you
need to add both ends ... but one end with near to plus infinity round
and the other end with near to minus infinity (if you care about correct
program :-).
--
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex
tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature
---------------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2003-11-10 20:22 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
2003-11-17 17:03 ` Diego Olivier Fernandez Pons
2003-11-10 21:23 ` Christophe Raffalli [this message]
[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=3FB001DD.3030508@univ-savoie.fr \
--to=christophe.raffalli@univ-savoie.fr \
--cc=caml-list@inria.fr \
--cc=edahlman@atcorp.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