add rdoc.
[ruby-svn.git] / missing / finite.c
blob8d0b7af262bbda281b66d4a88be51ca559d55ed6
1 /* public domain rewrite of finite(3) */
3 int
4 finite(double n)
6 return !isnan(n) && !isinf(n);