mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-05 20:26:39 +02:00
number? includes a check for bignums (issue #19)
This commit is contained in:
parent
5227209ff8
commit
7e0464154a
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@
|
|||
|
||||
;; math utils
|
||||
|
||||
(define (number? x) (if (fixnum? x) #t (flonum? x)))
|
||||
(define (number? x) (if (fixnum? x) #t (if (bignum? x) #t (flonum? x))))
|
||||
(define complex? number?)
|
||||
(define rational? number?)
|
||||
(define real? number?)
|
||||
|
|
Loading…
Add table
Reference in a new issue