Ruby
2.5.0dev(2017-10-22revision60238)
missing
finite.c
Go to the documentation of this file.
1
/* public domain rewrite of finite(3) */
2
3
#include "
ruby/missing.h
"
4
5
int
6
finite
(
double
n)
7
{
8
return
!
isnan
(n) && !
isinf
(n);
9
}
finite
int finite(double n)
Definition:
finite.c:6
missing.h
isinf
RUBY_EXTERN int isinf(double)
Definition:
isinf.c:56
isnan
#define isnan(x)
Definition:
win32.h:346
Generated by
1.8.13