integer rexponent exactness radix sign 2)))
(else
(parse-dotted-5 string start end integer rexponent exactness radix
- sign))))
+ sign 10 0))))
(define (parse-exponent-1 string start end integer rexponent exactness radix
sign base)
(let ((bexponent (if (eq? #\- esign) (- eint) eint)))
(if (fix:= start end)
(finish-real integer rexponent exactness radix sign base bexponent)
- (parse-decimal-5 string start end integer rexponent exactness radix
- sign base bexponent))))
+ (parse-dotted-5 string start end integer rexponent exactness radix
+ sign base bexponent))))
(and (fix:< start end)
(let ((esign (string-ref string start)))
(get-digits start #f)))))
(define (parse-dotted-5 string start end integer rexponent exactness radix
- sign)
+ sign base bexponent)
(parse-complex string start end
- (finish-real integer rexponent exactness radix sign 10 0)
+ (finish-real integer rexponent exactness radix sign
+ base bexponent)
exactness radix sign))
\f
(define (parse-complex string start end real exactness radix sign)
(define-eqv-test "#d#e-100" -100)
(define-eqv-test "#x#e-100" -256)
-(define-eqv-test "#e1e1+1e1i" 10+10i 'xerror)
+(define-eqv-test "#e1e1+1e1i" 10+10i)
(define-eqv-test "#e#x1p10" (expt 2 10))
(define-eqv-test "#e#x1.1p4" #x11)