caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Strange physical equality behavior
@ 2003-11-09 18:34 Oleg Trott
  2003-11-10  1:33 ` Jacques Garrigue
  0 siblings, 1 reply; 10+ messages in thread
From: Oleg Trott @ 2003-11-09 18:34 UTC (permalink / raw)
  To: caml-list

        Objective Caml version 3.07+2

# sin == sin;;
- : bool = false
# let f = sin;;
val f : float -> float = <fun>
# f == f;;
- : bool = true

I don't like the fact that (sin == sin) returns false.

-- 
Oleg Trott <oleg_trott@columbia.edu>

-------------------
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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-12  0:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-09 18:34 [Caml-list] Strange physical equality behavior Oleg Trott
2003-11-10  1:33 ` Jacques Garrigue
2003-11-10  2:25   ` Oleg Trott
2003-11-10  8:29     ` Jacques Garrigue
2003-11-10 18:41       ` Michal Moskal
2003-11-11  1:35         ` Jacques Garrigue
2003-11-11  6:48   ` Oleg Trott
2003-11-11 16:46     ` David Brown
2003-11-12  0:32       ` William Lovas
2003-11-11 17:08     ` brogoff

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).