Skip to content

Commit

Permalink
analyze operations
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Williamson committed Dec 6, 2017
1 parent 4f8b581 commit 5356daa
Showing 1 changed file with 75 additions and 46 deletions.
121 changes: 75 additions & 46 deletions interval-arithmetic.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
0 -1 -1 4 1 #"\0"
0 -1 1 #"\0"
1.0 0 92 -1 -1 -1 -1 -1 0 0 0 0 0 1 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 255
255 0 -1 -1 0 1530 0 29 3 12 #"#lang racket"
255 0 -1 -1 0 1559 0 29 3 12 #"#lang racket"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
Expand Down Expand Up @@ -551,14 +551,10 @@
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 18 3 2 #";("
0 0 18 3 11 #"lower-bound"
0 0 18 3 1 #"("
0 0 18 3 26 #"add-interval int-x int-y))"
0 0 18 3 38 #"lower-bound(add-interval int-x int-y))"
0 0 26 29 1 #"\n"
0 0 18 3 2 #";("
0 0 18 3 11 #"upper-bound"
0 0 18 3 1 #"("
0 0 18 3 26 #"add-interval int-x int-y))"
0 0 18 3 38 #"upper-bound(add-interval int-x int-y))"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
Expand Down Expand Up @@ -1213,45 +1209,6 @@
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 11 #"lower-bound"
0 0 26 3 1 #"("
0 0 14 3 12 #"div-interval"
0 0 26 3 2 #" ("
0 0 14 3 13 #"make-interval"
0 0 26 3 1 #" "
0 0 23 3 1 #"1"
0 0 26 3 1 #" "
0 0 23 3 1 #"5"
0 0 26 3 2 #")("
0 0 14 3 13 #"make-interval"
0 0 26 3 1 #" "
0 0 23 3 1 #"3"
0 0 26 3 1 #" "
0 0 23 3 1 #"7"
0 0 26 3 3 #")))"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 11 #"upper-bound"
0 0 26 3 1 #"("
0 0 14 3 12 #"div-interval"
0 0 26 3 2 #" ("
0 0 14 3 13 #"make-interval"
0 0 26 3 1 #" "
0 0 23 3 1 #"1"
0 0 26 3 1 #" "
0 0 23 3 1 #"5"
0 0 26 3 2 #")("
0 0 14 3 13 #"make-interval"
0 0 26 3 1 #" "
0 0 23 3 1 #"3"
0 0 26 3 1 #" "
0 0 23 3 1 #"7"
0 0 26 3 3 #")))"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 16 3 6 #"define"
0 0 26 3 2 #" ("
0 0 14 3 12 #"sub-interval"
Expand Down Expand Up @@ -2032,5 +1989,77 @@
0 0 14 3 4 #"int2"
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 16 3 6 #"define"
0 0 26 3 1 #" "
0 0 14 3 2 #"t1"
0 0 26 3 2 #" ("
0 0 14 3 19 #"make-center-percent"
0 0 26 3 1 #" "
0 0 23 3 3 #"100"
0 0 26 3 1 #" "
0 0 23 3 1 #"2"
0 0 26 3 2 #"))"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 16 3 6 #"define"
0 0 26 3 1 #" "
0 0 14 3 2 #"t2"
0 0 26 3 2 #" ("
0 0 14 3 19 #"make-center-percent"
0 0 26 3 1 #" "
0 0 23 3 3 #"100"
0 0 26 3 1 #" "
0 0 23 3 1 #"3"
0 0 26 3 2 #"))"
0 0 26 29 1 #"\n"
0 0 14 3 2 #"t1"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 6 #"center"
0 0 26 3 1 #" "
0 0 14 3 2 #"t1"
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 7 #"percent"
0 0 26 3 1 #" "
0 0 14 3 2 #"t1"
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 14 3 2 #"t2"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 6 #"center"
0 0 26 3 1 #" "
0 0 14 3 2 #"t2"
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 7 #"percent"
0 0 26 3 1 #" "
0 0 14 3 2 #"t2"
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 26 3 1 #"("
0 0 14 3 12 #"div-interval"
0 0 26 3 1 #" "
0 0 14 3 2 #"t1"
0 0 26 3 1 #" "
0 0 14 3 2 #"t1"
0 0 26 3 2 #")("
0 0 14 3 7 #"display"
0 0 26 3 1 #" "
0 0 20 3 35 #"\"should be 0.95146310 . 1.06185567\""
0 0 26 3 1 #")"
0 0 26 29 1 #"\n"
0 0 18 3 2 #";("
0 0 18 3 12 #"div-interval"
0 0 18 3 1 #" "
0 0 18 3 2 #"t1"
0 0 18 3 1 #" "
0 0 18 3 2 #"t2"
0 0 18 3 2 #")("
0 0 18 3 28 #"display \"should be 100 . 3\")"
0 0

0 comments on commit 5356daa

Please sign in to comment.