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.3 required=5.0 tests=AWL autolearn=disabled
version=3.1.3
X-Original-To: caml-list@yquem.inria.fr
Delivered-To: caml-list@yquem.inria.fr
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 4F976BBAF
for ; Mon, 23 Jun 2008 09:50:40 +0200 (CEST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhABAAPzXkhIDtyYc2dsb2JhbACSKEMBDAMEBAkPBZkBg0o
X-IronPort-AV: E=Sophos;i="4.27,688,1204498800";
d="scan'208";a="14385709"
Received: from fg-out-1718.google.com ([72.14.220.152])
by mail3-smtp-sop.national.inria.fr with ESMTP; 23 Jun 2008 09:50:39 +0200
Received: by fg-out-1718.google.com with SMTP id l27so1875585fgb.43
for ; Mon, 23 Jun 2008 00:50:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
:subject:in-reply-to:mime-version:content-type
:content-transfer-encoding:content-disposition:references;
bh=HMUpSU46n9Ye2wsI5aXr3BmxSNG1gk8PoNQCi0/R9Fg=;
b=A7c81/uH0Fn0qVvn6gYGBLVEo0r0gpo99D1zv9h3yhqekL2DrNc7imgEnND0llkEXT
JQHMMie/U6pRGfcDCvCl/b8D3eC2e86wus+VvyqwF51iuUVkLqk2y4NDNToEFpm0m0nS
IzJ+7CZ7h+jxfY/aZrvmKj6NfC3AZ2/6dExmc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:in-reply-to:mime-version
:content-type:content-transfer-encoding:content-disposition
:references;
b=Kzl7sbpDmlxcViLM4A8Flo893TuNuSQJ2HK5g8xA+AXRQIgW/GwOykeiU5GxqI9GR5
dzYEzwshy30dEMYyfO+8tJab4xcl04Gb+fqh1mumQghuAO+aCZS5VaPdQiScAFInZoyI
gEOd/hPkS32Tt8Mc3O/8gAwD+rLElFsSBOkBM=
Received: by 10.78.138.6 with SMTP id l6mr2557856hud.41.1214207439362;
Mon, 23 Jun 2008 00:50:39 -0700 (PDT)
Received: by 10.78.47.4 with HTTP; Mon, 23 Jun 2008 00:50:39 -0700 (PDT)
Message-ID: <4b5157c30806230050q1673c2bdo6fb90eb003cb4ea9@mail.gmail.com>
Date: Mon, 23 Jun 2008 09:50:39 +0200
From: "Paolo Donadeo"
To: "caml-list caml-list"
Subject: Re: [Caml-list] Strange behaviour of string_of_float
In-Reply-To:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <4b5157c30806220956p164d8346i3e832bc8b8666306@mail.gmail.com>
<20080622195831.GA22384@annexia.org>
<4b5157c30806221345p9be5daeqc65b3f6cfb3219b3@mail.gmail.com>
X-Spam: no; 0.00; pervasives:01 caml-list:01 behaviour:01 api:02 string:02 float:03 strange:08 should:13 should:13 noticed:14 something:14 code:17 thanks:17 com:74 better:26
> Code something like this should work:
Thanks, this is even better. I should pay more attention to the
Pervasives API: I never noticed frexp and ldexp.
--
Paolo
~
~
:wq