Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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.