Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "forum@x9c.fr" <forum@x9c.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [ANN] OCaml-Java project : beta version
Date: Mon, 24 Mar 2008 22:24:49 +0100	[thread overview]
Message-ID: <51C33DC2-6548-48B8-AF8B-D32EAB3D4669@x9c.fr> (raw)
In-Reply-To: <666572260803221138h75ce0e9q3ae2d11f850c91d7@mail.gmail.com>


Le 22 mars 08 à 19:38, Adrien a écrit :
> 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 = 1.00000000000000000e+3
>
> ...
>
>
> I think this is just a matter of display. Take a look at the  
> following example :
> # 8.**35.;;
> - : float = 4.05648192073033400e+31
> # 8.**34.;;
> - : float = 5.07060240091291760e+3
> # 8.**33.;;
> - : float = 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/



  reply	other threads:[~2008-03-24 21:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 11:46 forum
2008-03-01 19:03 ` [Caml-list] " Adrien
2008-03-01 20:01   ` Adrien
2008-03-02 10:53     ` forum
2008-03-07 15:51       ` forum
2008-03-22 18:38         ` Adrien
2008-03-24 21:24           ` forum [this message]
2008-03-02 10:46   ` forum
2008-03-02 20:38     ` Florian Weimer
2008-03-01 22:51 ` Richard Jones
2008-03-02 10:52   ` forum
2008-03-02 12:26     ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C33DC2-6548-48B8-AF8B-D32EAB3D4669@x9c.fr \
    --to=forum@x9c.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox