Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Large projects in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: sejourne kevin <sejourne_kevin@y...>
Subject: [Caml-list] A problem with nan.
Hi!

I have a problem with float. I don't understand this:
let tab = [| ~-.9.403;  ~-.5.736;   4.095;  ~-.6.029; 
~-.4.400;  ~-.0.668;  ~-.5.295;   0.912;  ~-.2.959; 
~-.4.752;  ~-.3.017;  ~-.4.847;  60.606 |]
;;

let non = (Array.make (Array.length tab ) nan)
;;

# tab=non;;(*A*)
- : bool = true
# tab<>non;;(*B*)
- : bool = false

Can someone explain it?

Kevin.


Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
 Créez votre adresse sur http://mail.yahoo.fr

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