int isnan(double) is a POSIXism
int isnan(double)
isnan
int
isnan(x)
bool isnan(double)
bool
[Bug #14816][ruby-core:87364] further reading: https://developers.redhat.com/blog/2016/02/29/why-cstdlib-is-more-complicated-than-you-might-think/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
int isnan(double)
is a POSIXismisnan
is something relatively new. We need to provide one forthose systems without it. However:
int isnan(double)
. Note theint
.isnan(x)
to be a macro.defines its own
bool isnan(double)
. Note thebool
.int isnan(double)
andbool isnan(double)
areincompatible.
[Bug #14816][ruby-core:87364]
further reading: https://developers.redhat.com/blog/2016/02/29/why-cstdlib-is-more-complicated-than-you-might-think/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e