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.2 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 4560FBBAF
for ; Sun, 22 Jun 2008 22:50:38 +0200 (CEST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgABAFJYXkjRVYC8d2dsb2JhbACSKUMBDAMEBAkRA5ZzgzM
X-IronPort-AV: E=Sophos;i="4.27,686,1204498800";
d="scan'208";a="14373335"
Received: from fk-out-0910.google.com ([209.85.128.188])
by mail3-smtp-sop.national.inria.fr with ESMTP; 22 Jun 2008 22:50:38 +0200
Received: by fk-out-0910.google.com with SMTP id k31so2083846fkk.11
for ; Sun, 22 Jun 2008 13:50:37 -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=eMK1SrrKQ6TvOeV7LQelWfeRvMoyGJRzdAkMGX/S4l8=;
b=J040eEG0jJW9PFm3HuJuaG/qyxa0vtX8JLokPcyR2JnsQp3PWPfKf7WBgP5gf5roIq
qRshNvPzby/cKYmtHiytBngi/2Fk+BWjdoa5O4nj32XLWXYXhF58/IaSxc3umFRg2e21
VW0VqZg0VdRadX/pFnWPGjeKC4Z1kwH1Bj+04=
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=ZSWU/377F+lXcTmNUJXnkFnE+B0D+QedAtYaTIDMP887skNHRGKv+pI+/JLBM4xfpu
Pe4vcWkXu7wCetdfftRS5KH2IV3z1KINgBTpmYifW1LbaK0tECG4r719f3ogUIKYAuux
GtW9iufRH6EycN4YcWsUslub73iAp5gmmX4vE=
Received: by 10.78.197.9 with SMTP id u9mr2410630huf.56.1214167837110;
Sun, 22 Jun 2008 13:50:37 -0700 (PDT)
Received: by 10.78.47.4 with HTTP; Sun, 22 Jun 2008 13:50:36 -0700 (PDT)
Message-ID: <4b5157c30806221350xe608e08v1ed2d9a1e6b9d744@mail.gmail.com>
Date: Sun, 22 Jun 2008 22:50:36 +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>
X-Spam: no; 0.00; serialize:01 integers:01 integers:01 deserialize:01 caml-list:01 int:01 int:01 behaviour:01 binary:02 string:02 float:03 float:03 daniel:04 bits:05 bits:05
> If you can serialize to binary, you can acheive what you want by serializing
> the 64 bits integers you get with Int64.bits_of_float and applying
> Int64.float_of_bits to the integers you deserialize.
Just posted a useless message :-)
This is *exactly* what I was searching for, thanks Daniel.
--
Paolo
~
~
:wq