mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
typo s!fx+*/carry!fx*/carry!g (issue #908)
This commit is contained in:
parent
5826023de1
commit
7e511ef8e4
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
fxzero? fxpositive? fxnegative? fxodd? fxeven? fxmax fxmin
|
||||
fx+ fx- fxneg fx* fxabs fxsquare fxsqrt
|
||||
fxquotient fxremainder
|
||||
fx+/carry fx-/carry fx+*/carry
|
||||
fx+/carry fx-/carry fx*/carry
|
||||
fxnot fxand fxior fxxor
|
||||
fxarithmetic-shift fxarithmetic-shift-left
|
||||
fxarithmetic-shift-right
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
(call-with-values (lambda () (balanced/ d (expt 2 fx-width)))
|
||||
(lambda (q r) (values r q)))))
|
||||
|
||||
(define (fx+*/carry i j k)
|
||||
(define (fx*/carry i j k)
|
||||
(let ((s (+ (* i j) k)))
|
||||
(call-with-values (lambda () (balanced/ s (expt 2 fx-width)))
|
||||
(lambda (q r) (values r q)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue