It's a bit more than slightly off topic. Try http://groups.google.com/groups?hl=en&lr=&safe=off&group=comp.lang.c
-----Original Message----- From: Underwood, Jonathan [mailto:[EMAIL PROTECTED]] Subject: How to return NaN? Sorry for the slightly off topic question, but i was wondering how best to have a function of type double return NaN in C. I'm using the cygwin environment for developement (so gcc), but am looking for the most portable solution. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/