mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +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: 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)
|
||||
|
|
Loading…
Add table
Reference in a new issue