
Time bar (total: 1.0s)
| 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 7 to 7 computations (0% saved)
| 397.0ms | 8 256× | 0 | valid |
ival-add: 69.0ms (46.6% of total)ival-div: 68.0ms (45.9% of total)exact: 6.0ms (4.1% of total)ival-assert: 3.0ms (2% of total)adjust: 2.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 500 binary64) |
| 0 | 0 | - | 0 | - | (/.f64 y #s(literal 500 binary64)) |
| 0 | 0 | - | 0 | - | x |
| 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 |
| 29.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-div: 4.0ms (52% of total)ival-add: 2.0ms (26% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 34 |
| 1 | 24 | 32 |
| 2 | 32 | 32 |
| 3 | 42 | 32 |
| 4 | 52 | 32 |
| 5 | 57 | 32 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 8 | 5 |
| 0 | 8 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
Compiled 5 to 5 computations (0% saved)
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
x |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx (/ y 500) #s(hole binary64 (* 1/500 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((+ x (/ y 500)) x (/ y 500) y 500) |
| 1.0ms | y | @ | -inf | ((+ x (/ y 500)) x (/ y 500) y 500) |
| 1.0ms | x | @ | -inf | ((+ x (/ y 500)) x (/ y 500) y 500) |
| 0.0ms | x | @ | inf | ((+ x (/ y 500)) x (/ y 500) y 500) |
| 0.0ms | y | @ | 0 | ((+ x (/ y 500)) x (/ y 500) y 500) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 113 |
| 0 | 40 | 110 |
| 1 | 158 | 110 |
| 0 | 1152 | 107 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
x |
(/.f64 y #s(literal 500 binary64)) |
y |
#s(literal 500 binary64) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx (/ y 500) #s(hole binary64 (* 1/500 y))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
| Outputs |
|---|
(/.f64 (-.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (/.f64 y #s(literal 500 binary64)) x)) |
(/.f64 (neg.f64 (*.f64 (+.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 x (/.f64 y #s(literal 500 binary64))))) (neg.f64 (-.f64 x (/.f64 y #s(literal 500 binary64))))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) x (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x))))) |
(/.f64 (*.f64 (+.f64 (/.f64 y #s(literal 500 binary64)) x) (-.f64 x (/.f64 y #s(literal 500 binary64)))) (-.f64 x (/.f64 y #s(literal 500 binary64)))) |
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64))) (fma.f64 (/.f64 y #s(literal 500 binary64)) (/.f64 y #s(literal 500 binary64)) (-.f64 (*.f64 x x) (*.f64 (/.f64 y #s(literal 500 binary64)) x)))) |
(/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64))) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (/.f64 y #s(literal 500 binary64)))) (/.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 2 binary64)) (-.f64 x (/.f64 y #s(literal 500 binary64))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x)))) (/.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x))))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
x |
(/.f64 (neg.f64 (*.f64 #s(literal -1 binary64) y)) #s(literal 500 binary64)) |
(/.f64 (*.f64 #s(literal -1 binary64) y) #s(literal -500 binary64)) |
(/.f64 y #s(literal 500 binary64)) |
(neg.f64 (/.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 500 binary64))) |
(neg.f64 (/.f64 y #s(literal -500 binary64))) |
y |
#s(literal 500 binary64) |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
#s(approx x x) |
#s(approx (+ x (/ y 500)) x) |
#s(approx (+ x (/ y 500)) (*.f64 (fma.f64 (*.f64 (/.f64 y x) #s(literal 1/500 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ x (/ y 500)) (*.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64) #s(literal -1 binary64)) x) #s(literal -1 binary64))) |
#s(approx (/ y 500) (*.f64 #s(literal 1/500 binary64) y)) |
#s(approx y y) |
#s(approx (+ x (/ y 500)) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y)) |
#s(approx (+ x (/ y 500)) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal -1 binary64)) #s(literal 1/500 binary64)) y) #s(literal -1 binary64))) |
Compiled 362 to 90 computations (75.1% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 1 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 2 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| ▶ | 99.9% | #s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
Compiled 15 to 13 computations (13.3% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(fma.f64 #s(literal 1/500 binary64) y x) |
#s(literal 1/500 binary64) |
y |
x |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 x)) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | ((+ x (/ y 500)) (+ (* 1/500 y) x) 1/500 y x) |
| 0.0ms | x | @ | -inf | ((+ x (/ y 500)) (+ (* 1/500 y) x) 1/500 y x) |
| 0.0ms | x | @ | inf | ((+ x (/ y 500)) (+ (* 1/500 y) x) 1/500 y x) |
| 0.0ms | y | @ | inf | ((+ x (/ y 500)) (+ (* 1/500 y) x) 1/500 y x) |
| 0.0ms | x | @ | 0 | ((+ x (/ y 500)) (+ (* 1/500 y) x) 1/500 y x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 194 |
| 0 | 46 | 186 |
| 1 | 172 | 186 |
| 0 | 1228 | 182 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(fma.f64 #s(literal 1/500 binary64) y x) |
#s(literal 1/500 binary64) |
y |
x |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* 1/500 y))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (+ x (* 1/500 y)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 x)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 x)) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* x (+ 1 (* 1/500 (/ y x)))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* -1 (* x (- (* -1/500 (/ y x)) 1))))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* y (+ 1/500 (/ x y))))) |
#s(approx (+ x (/ y 500)) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
#s(approx (+ (* 1/500 y) x) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1/500))))) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 #s(literal -1/500 binary64) y) #s(literal 3 binary64))) (fma.f64 x x (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (*.f64 #s(literal -1/500 binary64) y))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1/500 binary64) y x) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))) (neg.f64 (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1/500 binary64) y x) (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))) (neg.f64 (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 1/500 binary64)) y (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/500 binary64) y x) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)) |
(/.f64 (*.f64 (fma.f64 #s(literal 1/500 binary64) y x) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 1/500 binary64)) y (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)))) |
(fma.f64 #s(literal 1/500 binary64) y x) |
(fma.f64 y #s(literal 1/500 binary64) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))) (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 2 binary64)) (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))) |
(-.f64 x (*.f64 (*.f64 #s(literal -1 binary64) y) #s(literal 1/500 binary64))) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 1/500 binary64)) y (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 1/500 binary64)) y (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)))) (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3 binary64)) (fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))))) |
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x) |
(+.f64 x (*.f64 #s(literal 1/500 binary64) y)) |
#s(literal 1/500 binary64) |
y |
x |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
#s(approx (+ (* 1/500 y) x) (*.f64 #s(literal 1/500 binary64) y)) |
#s(approx (+ (* 1/500 y) x) (fma.f64 #s(literal 1/500 binary64) y x)) |
#s(approx x x) |
#s(approx (+ x (/ y 500)) x) |
#s(approx (+ x (/ y 500)) (*.f64 (fma.f64 (*.f64 (/.f64 y x) #s(literal 1/500 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ (* 1/500 y) x) x) |
#s(approx (+ (* 1/500 y) x) (*.f64 (fma.f64 (*.f64 (/.f64 y x) #s(literal 1/500 binary64)) #s(literal 1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ x (/ y 500)) (*.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64) #s(literal -1 binary64)) x) #s(literal -1 binary64))) |
#s(approx (+ (* 1/500 y) x) (*.f64 (*.f64 (fma.f64 (*.f64 #s(literal -1/500 binary64) (/.f64 y x)) #s(literal 1 binary64) #s(literal -1 binary64)) x) #s(literal -1 binary64))) |
#s(approx y y) |
#s(approx (+ x (/ y 500)) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y)) |
#s(approx (+ (* 1/500 y) x) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y)) |
#s(approx (+ x (/ y 500)) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal -1 binary64)) #s(literal 1/500 binary64)) y) #s(literal -1 binary64))) |
#s(approx (+ (* 1/500 y) x) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 x y) #s(literal -1 binary64)) #s(literal 1/500 binary64)) y) #s(literal -1 binary64))) |
Compiled 751 to 136 computations (81.9% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 38 | 2 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| ✓ | 99.9% | #s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
Compiled 30 to 24 computations (20% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
4 calls:
| 1.0ms | y |
| 1.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 1.0ms | (/.f64 y #s(literal 500 binary64)) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (/.f64 y #s(literal 500 binary64)) |
| 100.0% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
4 calls:
| 1.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 1.0ms | (/.f64 y #s(literal 500 binary64)) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | (/.f64 y #s(literal 500 binary64)) |
| 99.9% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 99.9% | 1 | x |
| 99.9% | 1 | y |
Compiled 10 to 13 computations (-30% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 15 |
| 1 | 11 | 15 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
| 1× | done |
Compiled 15 to 11 computations (26.7% saved)
Compiled 40 to 32 computations (20% saved)
Loading profile data...