finite? -- r7rs Definition predicate;
Procedure variants:
((number-nan) -> (false))
number-nan;false;((number-inf) -> (false))
number-inf;false;((number-not-inf-not-nan) -> (true))
number-not-inf-not-nan;true;scheme:inexact -- (scheme inexact);scheme -- (scheme);(finite? z)The
finite?procedure returns#ton all real numbers except+inf.0,-inf.0, and+nan.0, and on complex numbers if their real and imaginary parts are both finite. Otherwise it returns#f.(finite? 3) ===> #t (finite? +inf.0) ===> #f (finite? 3.0+inf.0i) ===> #f
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.