1332 |
|
|
1333 |
SCM_DEFINE (scm_integer_length, "integer-length", 1, 0, 0, |
SCM_DEFINE (scm_integer_length, "integer-length", 1, 0, 0, |
1334 |
(SCM n), |
(SCM n), |
1335 |
"Return the number of bits neccessary to represent @var{n}.\n" |
"Return the number of bits necessary to represent @var{n}.\n" |
1336 |
"\n" |
"\n" |
1337 |
"@lisp\n" |
"@lisp\n" |
1338 |
"(integer-length #b10101010)\n" |
"(integer-length #b10101010)\n" |
2887 |
SCM_DEFINE (scm_number_p, "complex?", 1, 0, 0, |
SCM_DEFINE (scm_number_p, "complex?", 1, 0, 0, |
2888 |
(SCM x), |
(SCM x), |
2889 |
"Return @code{#t} if @var{x} is a complex number, @code{#f}\n" |
"Return @code{#t} if @var{x} is a complex number, @code{#f}\n" |
2890 |
"else. Note that the sets of real, rational and integer\n" |
"otherwise. Note that the sets of real, rational and integer\n" |
2891 |
"values form subsets of the set of complex numbers, i. e. the\n" |
"values form subsets of the set of complex numbers, i. e. the\n" |
2892 |
"predicate will also be fulfilled if @var{x} is a real,\n" |
"predicate will also be fulfilled if @var{x} is a real,\n" |
2893 |
"rational or integer number.") |
"rational or integer number.") |
2907 |
SCM_DEFINE (scm_real_p, "rational?", 1, 0, 0, |
SCM_DEFINE (scm_real_p, "rational?", 1, 0, 0, |
2908 |
(SCM x), |
(SCM x), |
2909 |
"Return @code{#t} if @var{x} is a rational number, @code{#f}\n" |
"Return @code{#t} if @var{x} is a rational number, @code{#f}\n" |
2910 |
"else. Note that the set of integer values forms a subset of\n" |
"otherwise. Note that the set of integer values forms a subset of\n" |
2911 |
"the set of rational numbers, i. e. the predicate will also be\n" |
"the set of rational numbers, i. e. the predicate will also be\n" |
2912 |
"fulfilled if @var{x} is an integer number. Real numbers\n" |
"fulfilled if @var{x} is an integer number. Real numbers\n" |
2913 |
"will also satisfy this predicate, because of their limited\n" |
"will also satisfy this predicate, because of their limited\n" |