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 RAA26829; Fri, 17 Oct 2003 17:14:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA30441 for ; Fri, 17 Oct 2003 17:14:05 +0200 (MET DST) Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9HFE4125074 for ; Fri, 17 Oct 2003 17:14:04 +0200 (MET DST) Received: from user-0ccekej.cable.mindspring.com ([24.199.81.211] helo=minsky-primus.homeip.net) by smtp6.mindspring.com with smtp (Exim 3.33 #1) id 1AAWIl-00061T-00 for caml-list@inria.fr; Fri, 17 Oct 2003 11:14:03 -0400 Received: from 141.155.88.179 (SquirrelMail authenticated user yminsky) by minsky-primus.homeip.net with HTTP; Fri, 17 Oct 2003 11:14:03 -0400 (EDT) Message-ID: <35208.141.155.88.179.1066403643.squirrel@minsky-primus.homeip.net> In-Reply-To: <1066402553.4570.65.camel@pelican> References: <51792.141.155.88.179.1066142234.squirrel@minsky-primus.homeip.net> <20031016151658.A5633@pauillac.inria.fr> <1066402553.4570.65.camel@pelican> Date: Fri, 17 Oct 2003 11:14:03 -0400 (EDT) Subject: Floating point exceptions (Was Re: [Caml-list] Weird behavior with nan's and min/max) From: "Yaron Minsky" To: caml-list@inria.fr User-Agent: SquirrelMail/1.4.2-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 yaron:01 minsky:01 yminsky:01 cornell:01 sigfpe:01 floats:01 bug:01 faq:01 faq:01 beginner's:01 beginners:01 bin:01 caml-bugs:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Here's another question: is it possible to catch floating point exceptions such as division by zero? It seems like that might be another way of dealing with this. I thought catching SIGFPE would do it, but I tried and I couldn't seem to get it triggered. Is it possible to convert floating point exceptions to ocaml exceptions? y > On Thu, 2003-10-16 at 23:16, Xavier Leroy wrote: > >> 1- Fix polymorphic equality so that it behaves like IEEE equality on >> floats, > >> 2- As J M Skaller proposed, change the behavior of polymorphic >> equality > > Doesn't the polymorphic comparison have to be a total order? > > > ------------------- > 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