Skip to content

Instantly share code, notes, and snippets.

@kouddy
Created March 22, 2015 16:59
Show Gist options
  • Save kouddy/bdf3016fef6e98a4a5e3 to your computer and use it in GitHub Desktop.
Save kouddy/bdf3016fef6e98a4a5e3 to your computer and use it in GitHub Desktop.
(define (sub-interval x y)
(make-interval (- (lower-bound x) (upper-bound y))
(+ (upper-bound x) (lower-bound y))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment