infinite? -- r7rs Definition
§

Kind
§

predicate;

Implemented by
§

Procedure signature
§

Procedure variants:

Exports
§

Exports recursive
§

Description
§

(infinite? z)

The infinite? procedure returns #t on the real numbers +inf.0 and -inf.0, and on complex numbers if their real or imaginary parts or both are infinite. Otherwise it returns #f.

(infinite? 3)            ===>  #f
(infinite? +inf.0)       ===>  #t
(infinite? +nan.0)       ===>  #f
(infinite? 3.0+inf.0i)   ===>  #t

The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.

Referenced-types
§