Added TODO

This commit is contained in:
Justin Ethier 2024-01-06 09:25:26 -08:00
parent 8875c534dc
commit 92d5d80cc1

View file

@ -1535,6 +1535,11 @@
;; TODO: if x and y are fixnums, do fast divide and return a fixnum
;; TODO: above good enough or are there special cases??
(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-remainder remainder)