caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* nan and infinity in C bindings..
@ 2010-11-14  3:12 Romain Beauxis
  2010-11-15 15:07 ` [Caml-list] " Hezekiah M. Carty
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Beauxis @ 2010-11-14  3:12 UTC (permalink / raw)
  To: caml-list

	Hi all !

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 ?

Romain


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] nan and infinity in C bindings..
  2010-11-14  3:12 nan and infinity in C bindings Romain Beauxis
@ 2010-11-15 15:07 ` Hezekiah M. Carty
  0 siblings, 0 replies; 2+ messages in thread
From: Hezekiah M. Carty @ 2010-11-15 15:07 UTC (permalink / raw)
  To: Romain Beauxis; +Cc: caml-list

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.

Hez


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-15 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-14  3:12 nan and infinity in C bindings Romain Beauxis
2010-11-15 15:07 ` [Caml-list] " Hezekiah M. Carty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).