object
(let ((prefix
(lambda (prefix limit radix)
- (if (exact-rational? object)
- (begin
- (if (not (and (exact-integer? object)
- (< (abs object) limit)))
- (*print-string prefix context))
- radix)
- 10))))
+ (if (not (or (and (flo:flonum? object)
+ (not (flo:finite? object)))
+ (and (exact-integer? object)
+ (< (abs object) limit))))
+ (*print-string prefix context))
+ radix)))
(case (get-param:printer-radix)
((2) (prefix "#b" 2 2))
((8) (prefix "#o" 8 8))
("nan.0" ,assert-symbol)
("#x123" ,assert-exact-integer)
("#x1/34" ,assert-exact-rational)
- ("#x123+456i" ,assert-complex-nonreal xfail)
- ("#x1.23p+0" ,assert-flonum xfail))
+ ("#x123+456i" ,assert-complex-nonreal)
+ ("#x1.23p+0" ,assert-flonum))
(lambda (string #!optional assertion xfail?)
(with-expected-failure xfail?
(lambda ()