* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / missing / isnan.c
bloba8733978add8b3b1797e56eccae8221b7fde2767
1 /* public domain rewrite of isnan(3) */
3 static int double_ne(double n1, double n2);
5 int
6 isnan(double n)
8 return double_ne(n, n);
11 static int
12 double_ne(double n1, double n2)
14 return n1 != n2;