From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA25435; Mon, 10 Nov 2003 15:11:20 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA25791 for ; Mon, 10 Nov 2003 15:11:19 +0100 (MET) Received: from moby.atcorp.com (moby.atcorp.com [204.72.172.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAAEBI101221 for ; Mon, 10 Nov 2003 15:11:18 +0100 (MET) Received: from atcorp.com (seahorse.atcorp.com [204.72.172.13]) by moby.atcorp.com (8.11.6/8.11.2) with ESMTP id hAAEDgZ12298; Mon, 10 Nov 2003 08:13:42 -0600 Message-ID: <3FAF9C64.7090504@atcorp.com> Date: Mon, 10 Nov 2003 08:10:44 -0600 From: Eric Dahlman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christophe Raffalli CC: caml-list@inria.fr Subject: Re: [Caml-list] Rounding mode References: <3FAF975F.5070105@univ-savoie.fr> In-Reply-To: <3FAF975F.5070105@univ-savoie.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 rounding:01 raffalli:01 rounding:01 implemented:01 christophe:01 ocaml:01 ocaml:01 primitives:01 arithmetic:01 patch:02 wrote:03 meaningful:04 implement:05 functions:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 ------------------- 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