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=1.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id B1908BC68 for ; Mon, 6 Nov 2006 13:07:12 +0100 (CET) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kA6C7BKM002493 for ; Mon, 6 Nov 2006 13:07:12 +0100 Received: by nz-out-0102.google.com with SMTP id 13so702090nzp for ; Mon, 06 Nov 2006 04:07:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WXtKQfeOSwD8DzTt/mB0l8rZSxdVRYqx94HrLQ/SvqXmJNcn7Yl+g+X8oS0IkOkbbvQBZn3vWqLs1KQqCGbHF47o0xArzvXJVK1a5VfA/IOEFR6vJ6+nTabaOJQGeEpFKZ+7vX9uQUprqaniV8IJptfuCVcQM2KG7WGrMjkQqSg= Received: by 10.35.129.1 with SMTP id g1mr516119pyn.1162814830978; Mon, 06 Nov 2006 04:07:10 -0800 (PST) Received: by 10.35.52.12 with HTTP; Mon, 6 Nov 2006 04:07:10 -0800 (PST) Message-ID: <83a12d7e0611060407m3fe3be1fkdf4d36f7e018f833@mail.gmail.com> Date: Mon, 6 Nov 2006 13:07:10 +0100 From: "Alexander Usov" To: caml-list@inria.fr Subject: Re: [Caml-list] OCaml with long double In-Reply-To: <454F1A37.2000604@univ-savoie.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <454F1A37.2000604@univ-savoie.fr> X-j-chkmail-Score: MSGID : 454F256F.001 on discorde : j-chkmail score : X : 0/20 1 X-Miltered: at discorde with ID 454F256F.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 ocaml:01 gcc:01 gcc:01 alignment:01 patching:01 unboxed:01 wrote:01 caml-list:01 alexander:03 On 11/6/06, Christophe Raffalli wrote: > > Hi, > > Has anyone tried to patch OCaml to use long double (128 bits on intel/gcc) instead of double (64 > bits on intel gcc) ? In reality they are not 128 bits, but just 80 bits long. The rest is just to improve memory alignment. I am not very authoritative to talk about patching ocaml, but judging from the amount of internal optimizations for handling of unboxed floating-point numbers, changing it will be quite difficult. -- Best regards, Alexander.