I need to deal with some floating point operations and I want to have

inf,
-inf,
nan,
etc

with functions like

is_inf(x)
is_nan(x)

etc

Are there any best practices for doing this in Cython, I have some old C code
that I could just convert into a pxd file, but I am not sure if there is a
idomatic/standard way.

Pointers to code that already deals with this (in Sage maybe) would be greatly
appreciated.

Gabriel
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to