Yosef
unread,Nov 4, 2009, 5:14:28 AM11/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cython-users
Hi there'
I'm writing a function getting complex arguments and need to check
whether the complex argument is NaN. I could import isnan from NumPy,
but that would force a C->Python->C path for the arguments and cancel
most of the advantage of using Cython.
I was hoping there would be an importable C definition of complex
NaN, but I don't see any such definition in NumPy, or Cython
documentation or in complex.h.
Is there a better way to do it?
Thanks,
Yosef.