C extension - null value

Hi all, 

please can you advice me on C functions. I am looking for some identifying null value. My goal is something like kF(inReal)[i] == kf(nf). Is there anything I can use?

Thank you.

Regards,

Jakub M.H.

I mean IsNull(x) alternative

On Wednesday, July 5, 2017 at 10:07:48 AM UTC-4, Jakub Martinovic Husar wrote:

 I am looking for some identifying null value.

Just use isnan().

 

My goal is something like kF(inReal)[i] == kf(nf). Is there anything I can use?

isnan(kF(inReal)[i]) will return 1 iff the i-th element of inReal is null.

You may also find the finite() function useful.