From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 6878BBC57 for ; Mon, 15 Nov 2010 16:07:39 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlYCABbc4EzRVaC0k2dsb2JhbACDRp8KCBYBAQEJCQoJEQMfoyyJJIdaiGmBIoM1cwSEWoV9 X-IronPort-AV: E=Sophos;i="4.59,200,1288566000"; d="scan'208";a="87042961" Received: from mail-gy0-f180.google.com ([209.85.160.180]) by mail1-smtp-roc.national.inria.fr with ESMTP; 15 Nov 2010 16:07:38 +0100 Received: by gyg8 with SMTP id 8so2955244gyg.39 for ; Mon, 15 Nov 2010 07:07:38 -0800 (PST) Received: by 10.151.78.10 with SMTP id f10mr2476386ybl.48.1289833657881; Mon, 15 Nov 2010 07:07:37 -0800 (PST) MIME-Version: 1.0 Sender: hcarty@mulethief.com Received: by 10.150.182.17 with HTTP; Mon, 15 Nov 2010 07:07:17 -0800 (PST) In-Reply-To: <201011132112.23240.toots@rastageeks.org> References: <201011132112.23240.toots@rastageeks.org> From: "Hezekiah M. Carty" Date: Mon, 15 Nov 2010 10:07:17 -0500 X-Google-Sender-Auth: _Ma6zclF0ix5YNGuJn22DBx-n-8 Message-ID: Subject: Re: [Caml-list] nan and infinity in C bindings.. To: Romain Beauxis Cc: caml-list@yquem.inria.fr Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; bindings:01 computations:01 ocaml:01 wrote:01 caml-list:01 fftw:02 fftw:02 binding:02 external:03 float:03 library:03 problem:05 nan:06 nan:06 uses:07 On Sat, Nov 13, 2010 at 10:12 PM, Romain Beauxis wrote: > > I have a code that uses an external C library (fftw3) for float (double) > computations. > > I get nan and infinity values back in OCaml using Store_double_field... Is it > possible or do I have a problem in my binding code ? > If nan and infinity values are possible in fftw3's results then this is possible. Hez