/* public domain rewrite of isnan(3) */ #include "ruby/missing.h" /* * isnan() may be a macro, a function or both. * (The C99 standard defines that isnan() is a macro, though.) * http://www.gnu.org/software/automake/manual/autoconf/Function-Portability.html * * macro only: uClibc * both: GNU libc * * This file is compile if no isnan() function is available. * (autoconf AC_REPLACE_FUNCS detects only the function.) * The macro is detected by following #ifndef. */ #ifndef isnan static int double_ne(double n1, double n2); int isnan(double n) { return double_ne(n, n); } static int double_ne(double n1, double n2) { return n1 != n2; } #endif ='h' onchange='this.form.submit();'> The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/COPYING
AgeCommit message (Expand)Author
2006-04-09* prec.c (prec_prec_f): documentation patch frommatz
2002-02-25* eval.c (method_inspect): should not dump core for unboundmatz
2002-02-21* pack.c (pack_pack): wrong # comment treatment.matz
2001-09-08* eval.c (rb_thread_restore_context): save current value ofmatz
2001-07-13Point to the newly added file LEGAL.knu
2001-07-11* It is confusing to put the GPL license terms in the file COPYING;knu