mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-21 22:59:16 +02:00
Added TODO
This commit is contained in:
parent
8875c534dc
commit
92d5d80cc1
1 changed files with 5 additions and 0 deletions
|
@ -1535,6 +1535,11 @@
|
||||||
;; TODO: if x and y are fixnums, do fast divide and return a fixnum
|
;; TODO: if x and y are fixnums, do fast divide and return a fixnum
|
||||||
;; TODO: above good enough or are there special cases??
|
;; TODO: above good enough or are there special cases??
|
||||||
(truncate (/ x y)))
|
(truncate (/ x y)))
|
||||||
|
;; TODO: something like this, but do we want inline?
|
||||||
|
;;(let ((result (/ x y)))
|
||||||
|
;; (if (and (fixnum? x) (fixnum? y))
|
||||||
|
;; (exact (truncate result))
|
||||||
|
;; (truncate result))))
|
||||||
|
|
||||||
(define truncate-quotient quotient)
|
(define truncate-quotient quotient)
|
||||||
(define truncate-remainder remainder)
|
(define truncate-remainder remainder)
|
||||||
|
|
Loading…
Add table
Reference in a new issue