/usr/lib/s9fes/help/numberp is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | R4RS 6.5.5 (integer? object) ==> boolean
(number? object) ==> boolean
(real? object) ==> boolean
These numerical type predicates can be applied to any kind of
argument, including non-numbers. They return #t if the object is
of the named type, and otherwise they return #f. In general, if a
type predicate is true of a number then all higher type predicates
are also true of that number. Consequently, if a type predicate is
false of a number, then all lower type predicates are also false
of that number.
(real? 3) ==> #t
(real? -2.5) ==> #t
(real? #e1e10) ==> #t
(integer? 3) ==> #t
(integer? 3.0) ==> #t
Note: The behavior of these type predicates on inexact numbers is
unreliable, since any inaccuracy may affect the result.
|