* added positive?
This commit is contained in:
parent
1feea6c243
commit
c85495a4f2
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -23,13 +23,14 @@
|
|||
|
||||
(library (ikarus generic-arithmetic)
|
||||
(export + - * zero? = < <= > >= add1 sub1 quotient remainder
|
||||
positive?
|
||||
quotient+remainder number->string string->number)
|
||||
(import
|
||||
(ikarus system $fx)
|
||||
(ikarus system $chars)
|
||||
(ikarus system $strings)
|
||||
(except (ikarus) + - * zero? = < <= > >= add1 sub1 quotient
|
||||
remainder quotient+remainder number->string
|
||||
remainder quotient+remainder number->string positive?
|
||||
string->number))
|
||||
|
||||
(define (fixnum->flonum x)
|
||||
|
|
|
@ -289,6 +289,7 @@
|
|||
[bignum? i]
|
||||
[integer? i]
|
||||
[flonum? i]
|
||||
[positive? i r]
|
||||
[quotient i r]
|
||||
[remainder i r]
|
||||
[quotient+remainder i r]
|
||||
|
|
Loading…
Reference in New Issue