English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
nan and infinity in C bindings..
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-15 (15:07)
From: Hezekiah M. Carty <hcarty@a...>
Subject: Re: [Caml-list] nan and infinity in C bindings..
On Sat, Nov 13, 2010 at 10:12 PM, Romain Beauxis <toots@rastageeks.org> 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.