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 NAA31693; Thu, 20 May 2004 13:56:06 +0200 (MET DST) 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 NAA31454 for ; Thu, 20 May 2004 13:56:05 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from web41905.mail.yahoo.com (web41905.mail.yahoo.com [66.218.93.156]) by concorde.inria.fr (8.12.10/8.12.10) with SMTP id i4KBu3SH009197 for ; Thu, 20 May 2004 13:56:04 +0200 Message-ID: <20040520115602.56566.qmail@web41905.mail.yahoo.com> Received: from [193.55.28.176] by web41905.mail.yahoo.com via HTTP; Thu, 20 May 2004 13:56:02 CEST Date: Thu, 20 May 2004 13:56:02 +0200 (CEST) From: =?iso-8859-1?q?sejourne=20kevin?= Subject: [Caml-list] A problem with nan. To: caml-list@inria.fr In-Reply-To: <1085042767.19838.934.camel@pelican.wigram> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 40AC9CD3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; bool:01 bool:01 float:02 gratuit:96 let:04 let:04 nan:04 nan:04 array:04 array:04 e-mail:94 problem:07 problem:07 explain:09 votre:88 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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