sicp-lang/sicp

(floor n) should be (ceiling n)

Closed this issue · 1 comments

(define (ceiling->exact n)
  (inexact->exact (floor n)))

See

(define (ceiling->exact n)
.

Thank you! It's indeed wrong, but we switched to a new implementation of sicp-pict recently, so the bug is a dead code right now. I will delete the file soon, so there's no need to fix it.