
Time bar (total: 1.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 8 to 8 computations (0% saved)
| 430.0ms | 8 256× | 0 | valid |
ival-sub!: 56.0ms (35.7% of total)ival-fabs: 55.0ms (35.1% of total)ival-div!: 44.0ms (28.1% of total)adjust: 2.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (fabs.f64 (-.f64 a b)) |
| 0 | 0 | - | 0 | - | (-.f64 a b) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 21.0ms | 512× | 0 | valid |
Compiled 42 to 22 computations (47.6% saved)
ival-fabs: 3.0ms (40.6% of total)ival-sub!: 2.0ms (27.1% of total)ival-div!: 2.0ms (27.1% of total)adjust: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 40 |
| 1 | 41 | 40 |
| 2 | 62 | 40 |
| 3 | 120 | 40 |
| 4 | 240 | 40 |
| 5 | 419 | 40 |
| 6 | 1472 | 40 |
| 7 | 5212 | 40 |
| 0 | 6 | 6 |
| 0 | 9 | 6 |
| 1 | 15 | 6 |
| 2 | 23 | 6 |
| 3 | 43 | 6 |
| 4 | 92 | 6 |
| 5 | 198 | 6 |
| 6 | 770 | 6 |
| 7 | 5212 | 6 |
| 0 | 8049 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(sort a b)
Compiled 6 to 6 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
Compiled 6 to 6 computations (0% saved)
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | 0 | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 178 |
| 0 | 55 | 161 |
| 1 | 206 | 158 |
| 0 | 1504 | 158 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
| Outputs |
|---|
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -2 binary64)) |
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64)) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64))) |
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (fabs.f64 (fma.f64 b b (*.f64 a (neg.f64 a)))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(/.f64 (fma.f64 b b (*.f64 a (neg.f64 a))) (-.f64 (neg.f64 b) a)) |
(/.f64 (fma.f64 b b (*.f64 a (neg.f64 a))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (neg.f64 (fma.f64 b b (*.f64 a (neg.f64 a)))) (+.f64 b a)) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a)) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (fma.f64 (pow.f64 a #s(literal 3 binary64)) #s(literal -1 binary64) (pow.f64 b #s(literal 3 binary64))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(neg.f64 (-.f64 b a)) |
(fma.f64 #s(literal -1 binary64) b a) |
(fma.f64 b #s(literal -1 binary64) a) |
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(-.f64 a b) |
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(+.f64 (neg.f64 b) a) |
(+.f64 a (neg.f64 b)) |
a |
b |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (- a b) a) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
Compiled 584 to 174 computations (70.2% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 1 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 47 | 1 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
Compiled 13 to 11 computations (15.4% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
#s(literal 1/2 binary64) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
b |
a |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 235 |
| 0 | 68 | 215 |
| 1 | 238 | 210 |
| 0 | 1709 | 210 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
#s(literal 1/2 binary64) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
b |
a |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64))) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (+.f64 b a)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (+.f64 b a))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (-.f64 (neg.f64 a) b)) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (neg.f64 (+.f64 b a))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (+.f64 b a)) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b b (*.f64 a (+.f64 b a)))) |
(neg.f64 (-.f64 a b)) |
(fma.f64 #s(literal -1 binary64) a b) |
(fma.f64 a #s(literal -1 binary64) b) |
(-.f64 (/.f64 (*.f64 b b) (+.f64 b a)) (/.f64 (*.f64 a a) (+.f64 b a))) |
(-.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(-.f64 b a) |
(+.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (pow.f64 (neg.f64 a) #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(+.f64 (neg.f64 a) b) |
(+.f64 b (neg.f64 a)) |
b |
a |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) b) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx a a) |
#s(approx (- b a) (neg.f64 a)) |
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx b b) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
Compiled 872 to 205 computations (76.5% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 3 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 43 | 3 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
| ▶ | 48.1% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| ▶ | 54.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 44 to 36 computations (18.2% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 9.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b)) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b)) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b)) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b)) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 91 | 471 |
| 0 | 100 | 433 |
| 1 | 286 | 425 |
| 0 | 1832 | 425 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 #s(approx (- b a) b)) (sqrt.f64 #s(approx (- b a) b))) |
(pow.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) b)))) |
(fabs.f64 (neg.f64 #s(approx (- b a) b))) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(*.f64 (sqrt.f64 #s(approx (- b a) (neg.f64 a))) (sqrt.f64 #s(approx (- b a) (neg.f64 a)))) |
(pow.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) (neg.f64 a))))) |
(fabs.f64 (neg.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(*.f64 #s(literal -1 binary64) a) |
(*.f64 a #s(literal -1 binary64)) |
(neg.f64 a) |
a |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a))) |
(pow.f64 (pow.f64 (-.f64 b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(sqrt.f64 (pow.f64 (-.f64 b a) #s(literal 2 binary64))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (+.f64 b a)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (fma.f64 b b (*.f64 a (+.f64 b a)))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a)) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (-.f64 (neg.f64 b) a)) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (neg.f64 (+.f64 b a))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b b (*.f64 a (+.f64 b a)))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(neg.f64 (-.f64 b a)) |
(fma.f64 #s(literal -1 binary64) b a) |
(fma.f64 b #s(literal -1 binary64) a) |
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(-.f64 a b) |
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(+.f64 (neg.f64 b) a) |
(+.f64 a (neg.f64 b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- b a) b) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (neg a) (neg.f64 a)) |
#s(approx a a) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- b a) (neg.f64 a)) |
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (- a b) a) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx b b) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
Compiled 1 460 to 301 computations (79.4% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 76 | 3 | 79 |
| Fresh | 0 | 0 | 0 |
| Picked | 3 | 0 | 3 |
| Done | 0 | 0 | 0 |
| Total | 79 | 3 | 82 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))) |
| ▶ | 54.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
| ▶ | 48.1% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
Compiled 45 to 35 computations (22.2% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 #s(approx a a) b)) |
(-.f64 #s(approx a a) b) |
#s(approx a a) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 470 |
| 0 | 95 | 433 |
| 1 | 300 | 425 |
| 0 | 1976 | 425 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 #s(approx a a) b)) |
(-.f64 #s(approx a a) b) |
#s(approx a a) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
#s(approx (* (fabs (- b a)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a))) |
(pow.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a)))) |
(fabs.f64 (neg.f64 #s(approx (- a b) a))) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
(*.f64 (sqrt.f64 #s(approx (- b a) b)) (sqrt.f64 #s(approx (- b a) b))) |
(pow.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) b)))) |
(fabs.f64 (neg.f64 #s(approx (- b a) b))) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 b #s(approx a a))) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 b #s(approx a a))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b #s(approx a a)))) |
(*.f64 (sqrt.f64 (-.f64 #s(approx a a) b)) (sqrt.f64 (-.f64 #s(approx a a) b))) |
(pow.f64 (pow.f64 (-.f64 #s(approx a a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b))) (fabs.f64 (+.f64 #s(approx a a) b))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b))))) |
(sqrt.f64 (*.f64 (-.f64 b #s(approx a a)) (-.f64 b #s(approx a a)))) |
(sqrt.f64 (pow.f64 (-.f64 #s(approx a a) b) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (-.f64 b #s(approx a a)))) |
(fabs.f64 (neg.f64 (neg.f64 (-.f64 #s(approx a a) b)))) |
(fabs.f64 (-.f64 b #s(approx a a))) |
(fabs.f64 (neg.f64 (-.f64 #s(approx a a) b))) |
(fabs.f64 (-.f64 #s(approx a a) b)) |
(/.f64 (neg.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b))) (neg.f64 (+.f64 #s(approx a a) b))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b))))) |
(/.f64 (*.f64 (+.f64 #s(approx a a) b) (-.f64 #s(approx a a) b)) (+.f64 #s(approx a a) b)) |
(/.f64 (-.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))) |
(-.f64 (/.f64 (pow.f64 #s(approx a a) #s(literal 2 binary64)) (+.f64 #s(approx a a) b)) (/.f64 (*.f64 b b) (+.f64 #s(approx a a) b))) |
(-.f64 (/.f64 (pow.f64 #s(approx a a) #s(literal 3 binary64)) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 #s(approx a a) #s(approx a a) (*.f64 b (+.f64 #s(approx a a) b))))) |
(-.f64 #s(approx a a) b) |
#s(approx a a) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) b) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- a b) a) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (- b a) (neg.f64 a)) |
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
#s(approx (* (fabs (- b a)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
Compiled 1 215 to 226 computations (81.4% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 3 | 64 |
| Fresh | 0 | 0 | 0 |
| Picked | 3 | 0 | 3 |
| Done | 0 | 0 | 0 |
| Total | 64 | 3 | 67 |
| Status | Accuracy | Program |
|---|---|---|
| 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) #s(approx b b))) #s(literal 1/2 binary64))) | |
| 54.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 binary64))) | |
| 48.1% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
Compiled 206 to 84 computations (59.2% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) b)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 #s(approx a a) #s(approx b b))) #s(literal 1/2 binary64))) |
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
5 calls:
| 5.0ms | (fabs.f64 (-.f64 a b)) |
| 3.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 3.0ms | b |
| 3.0ms | (-.f64 a b) |
| 3.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (-.f64 a b) |
| 100.0% | 1 | (fabs.f64 (-.f64 a b)) |
| 100.0% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 100.0% | 1 | a |
| 100.0% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) #s(approx b b))) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
5 calls:
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 2.0ms | b |
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | a |
| 2.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 58.5% | 3 | (-.f64 a b) |
| 58.5% | 3 | (fabs.f64 (-.f64 a b)) |
| 58.5% | 3 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 86.4% | 2 | a |
| 83.5% | 2 | b |
Compiled 15 to 17 computations (-13.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
5 calls:
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | a |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | b |
| 1.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.9% | 1 | (-.f64 a b) |
| 54.9% | 1 | (fabs.f64 (-.f64 a b)) |
| 54.9% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 54.9% | 1 | b |
| 54.9% | 1 | a |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 16.0ms | -4.333494346805049e-135 | -8.946478562619725e-138 |
| 4.0ms | 128× | 0 | valid |
Compiled 249 to 211 computations (15.3% saved)
ival-fabs: 1.0ms (55.7% of total)ival-div!: 1.0ms (55.7% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)| 1× | fuel |
Compiled 62 to 23 computations (62.9% saved)
Compiled 260 to 142 computations (45.4% saved)
Loading profile data...