From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 3DB35BBC1 for ; Mon, 24 Mar 2008 22:24:52 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQAABC550dbeRvho2dsb2JhbACRFwEBAQEBAQcFCQcWlmY X-IronPort-AV: E=Sophos;i="4.25,548,1199660400"; d="scan'208";a="10621099" Received: from 26.mail-out.ovh.net ([91.121.27.225]) by mail3-smtp-sop.national.inria.fr with SMTP; 24 Mar 2008 22:24:51 +0100 Received: (qmail 14656 invoked by uid 503); 24 Mar 2008 21:25:21 -0000 Received: (QMFILT: 1.0); 24 Mar 2008 21:25:21 -0000 Received: from unknown (HELO mail147.ha.ovh.net) (213.186.33.59) by 26.mail-out.ovh.net with SMTP; 24 Mar 2008 21:25:21 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 24 Mar 2008 21:24:39 -0000 Received: from mut38-5-82-246-191-110.fbx.proxad.net (HELO ?192.168.0.11?) (forum%x9c.fr@82.246.191.110) by ns0.ovh.net with SMTP; 24 Mar 2008 21:24:37 -0000 Message-Id: <51C33DC2-6548-48B8-AF8B-D32EAB3D4669@x9c.fr> From: "forum@x9c.fr" To: caml-list@yquem.inria.fr In-Reply-To: <666572260803221138h75ce0e9q3ae2d11f850c91d7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [Caml-list] [ANN] OCaml-Java project : beta version Date: Mon, 24 Mar 2008 22:24:49 +0100 References: <14B4D706-F25C-44DB-8B66-4FB01683C34A@x9c.fr> <666572260803011103g4c8466b4uf52620930ffe466b@mail.gmail.com> <666572260803011201x3e63bdc8uf175baac1679217f@mail.gmail.com> <666572260803221138h75ce0e9q3ae2d11f850c91d7@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) X-Ovh-Remote: 82.246.191.110 (mut38-5-82-246-191-110.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Ovh-Tracer-Id: 2035908508072018910 X-Spam: no; 0.00; bug:01 toplevel:01 bug:01 10.:98 35.:98 34.:98 33.:98 caml-list:01 binary:02 string:02 seems:03 float:03 float:03 bugs:03 bugs:03 Le 22 mars 08 =E0 19:38, Adrien a =E9crit : > Hi, > > I wanted to report a small (display) bug. > I'm using ocamljava often for different purposes and among them, > calculator. I had just calculated something and wanted to check my > results I launched ocamljava's toplevel. > I had some rather weird results. For instance: > # 1000.**10.;; > - : float =3D 1.00000000000000000e+3 > > ... > > > I think this is just a matter of display. Take a look at the =20 > following example : > # 8.**35.;; > - : float =3D 4.05648192073033400e+31 > # 8.**34.;; > - : float =3D 5.07060240091291760e+3 > # 8.**33.;; > - : float =3D 6.33825300114114700e+29 > > It seems the last '0' is not displayed. This is indeed a very embarassing bug in the float to string conversion. It is now fixed in the darcs repository (of the Cadmium subproject). The upcoming binary revision will of course also feature this fix. Thanks for reporting this bug. Xavier Clerc PS: bugs can also be reported at http://bugs.x9c.fr/