Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Weird behavior with nan's and min/max
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron Minsky <yminsky@c...>
Subject: Floating point exceptions (Was Re: [Caml-list] Weird behavior with nan's and min/max)
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