Scheme base library for numbers
. __Authors:__ CSCM Contributor ([`[email protected]`](mailto:[email protected])).'$scml_exports'/0 | |
'*'/1 | |
'+'/1 | |
'-'/1 | |
'/'/1 | |
'<'/1 | |
'<='/1 | |
'='/1 | This function is a temporary place holder and is not (yet) compliant with the R7RS specification. . |
'>'/1 | |
'>='/1 | |
'complex?'/1 | |
'even?'/1 | |
'exact-integer-sqrt'/1 | |
'exact-integer?'/1 | |
'exact?'/1 | This function is a temporary place holder and is not (yet) compliant with the R7RS specification. . |
'floor-quotient'/2 | |
'floor-remainder'/2 | |
'floor/'/2 | |
'inexact?'/1 | |
'integer?'/1 | |
'negative?'/1 | |
'number->string'/1 | |
'number->string'/2 | |
'number?'/1 | |
'odd?'/1 | |
'positive?'/1 | |
'rational?'/1 | |
'real?'/1 | |
'string->number'/1 | |
'string->number'/2 | |
'truncate-quotient'/2 | |
'truncate-remainder'/2 | |
'truncate/'/2 | |
'zero?'/1 | |
abs/1 | |
ceiling/1 | |
denominator/1 | |
exact/1 | |
expt/2 | |
floor/1 | |
gcd/1 | |
inexact/1 | |
lcm/1 | |
max/1 | |
min/1 | |
modulo/2 | |
numerator/1 | |
quotient/2 | |
rationalize/2 | |
remainder/2 | |
round/1 | |
square/1 | |
truncate/1 |
'$scml_exports'() -> [{scm_symbol(), scmi_nip()}]
'*'(Zs::[scm_z()]) -> scm_boolean()
'+'(Zs::[scm_z()]) -> scm_boolean()
'-'(Zs::[scm_z(), ...]) -> scm_boolean()
'/'(Zs::[scm_z(), ...]) -> scm_boolean()
'<'(Xs::[scm_x(), ...]) -> scm_boolean()
'<='(Xs::[scm_x(), ...]) -> scm_boolean()
'='(Zs::[scm_z(), ...]) -> scm_boolean()
This function is a temporary place holder and is not (yet) compliant with the R7RS specification.
'>'(Xs::[scm_x(), ...]) -> scm_boolean()
'>='(Xs::[scm_x(), ...]) -> scm_boolean()
'complex?'(Obj::scm_obj()) -> scm_boolean()
'even?'(N::scm_n()) -> scm_boolean()
'exact-integer?'(Z::scm_z()) -> scm_boolean()
'exact?'(N::scm_z()) -> scm_boolean()
This function is a temporary place holder and is not (yet) compliant with the R7RS specification.
'inexact?'(Z::scm_z()) -> scm_boolean()
'integer?'(Obj::scm_obj()) -> scm_boolean()
'negative?'(X::scm_x()) -> scm_boolean()
'number->string'(Z::scm_z()) -> scm_string()
'number->string'(Z::scm_z(), Radix::2 | 8 | 10 | 16) -> scm_string()
'number?'(Obj::scm_obj()) -> scm_boolean()
'odd?'(N::scm_n()) -> scm_boolean()
'positive?'(X::scm_x()) -> scm_boolean()
'rational?'(Obj::scm_obj()) -> scm_boolean()
'real?'(Obj::scm_obj()) -> scm_boolean()
'string->number'(S::scm_string()) -> scm_z()
'string->number'(S::scm_string(), Radix::2 | 8 | 10 | 16) -> scm_z()
'zero?'(Z::scm_z()) -> scm_boolean()
denominator(Q::scm_q()) -> scm_n_pos()
max(Xs::[scm_x(), ...]) -> scm_boolean()
min(Xs::[scm_x(), ...]) -> scm_boolean()