
Time bar (total: 4.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)
| 301.0ms | 8 256× | 0 | valid |
ival-div!: 54.0ms (70.1% of total)ival-add!: 21.0ms (27.3% of total)adjust: 2.0ms (2.6% 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 |
| 46.0ms | 512× | 0 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-add!: 9.0ms (71% of total)ival-div!: 3.0ms (23.7% of total)adjust: 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 x x) (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 x (/.f64 y #s(literal 500 binary64))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 2 binary64))) (-.f64 x (/.f64 y #s(literal 500 binary64)))) |
(/.f64 (+.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 (/.f64 y #s(literal 500 binary64)) x)))) |
(/.f64 (+.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x 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 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x))) (/.f64 (pow.f64 (/.f64 y #s(literal 500 binary64)) #s(literal 3 binary64)) (fma.f64 (/.f64 y #s(literal 500 binary64)) (-.f64 (/.f64 y #s(literal 500 binary64)) x) (*.f64 x x)))) |
(+.f64 (/.f64 y #s(literal 500 binary64)) x) |
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
x |
(/.f64 (neg.f64 (neg.f64 y)) #s(literal 500 binary64)) |
(/.f64 (neg.f64 y) #s(literal -500 binary64)) |
(/.f64 y #s(literal 500 binary64)) |
(neg.f64 (/.f64 (neg.f64 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 y x) #s(literal 1/500 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/500 binary64) (/.f64 y 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 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1/500 binary64)))) |
Compiled 336 to 85 computations (74.7% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 3 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 4 | 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)) |
| ▶ | 52.1% | #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
| ▶ | 50.3% | #s(approx (+ x (/ y 500)) x) |
Compiled 31 to 27 computations (12.9% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) x) |
x |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
(*.f64 #s(literal 1/500 binary64) y) |
#s(literal 1/500 binary64) |
y |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(fma.f64 #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 x #s(hole binary64 x)) |
#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 (/ 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 (* 1/500 y) #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 (+ (* 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 | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((+ x (/ y 500)) x (+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x)) |
| 1.0ms | y | @ | inf | ((+ x (/ y 500)) x (+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x)) |
| 0.0ms | x | @ | -inf | ((+ x (/ y 500)) x (+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x)) |
| 0.0ms | x | @ | inf | ((+ x (/ y 500)) x (+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x)) |
| 0.0ms | y | @ | 0 | ((+ x (/ y 500)) x (+ x (/ y 500)) (* 1/500 y) 1/500 y (+ x (/ y 500)) (+ (* 1/500 y) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 48 | 220 |
| 0 | 49 | 212 |
| 1 | 175 | 212 |
| 0 | 1231 | 208 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ x (/ y 500)) x) |
x |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
(*.f64 #s(literal 1/500 binary64) y) |
#s(literal 1/500 binary64) |
y |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(fma.f64 #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 x #s(hole binary64 x)) |
#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 (/ 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 (* 1/500 y) #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 (+ (* 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)) x) |
x |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
(*.f64 #s(literal 1/500 binary64) y) |
(*.f64 y #s(literal 1/500 binary64)) |
#s(literal 1/500 binary64) |
y |
#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 (*.f64 x x) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 2 binary64)))) (neg.f64 (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 (neg.f64 x) x))) (neg.f64 (-.f64 (*.f64 #s(literal 1/500 binary64) y) x))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/125000000 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/125000000 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 2 binary64))) (-.f64 x (*.f64 #s(literal 1/500 binary64) y))) |
(/.f64 (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 (neg.f64 x) x)) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x)) |
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/125000000 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x))) |
(/.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) #s(literal 1/125000000 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))) |
(fma.f64 #s(literal 1/500 binary64) y x) |
(fma.f64 y #s(literal 1/500 binary64) 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 (/.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 x (*.f64 (neg.f64 y) #s(literal 1/500 binary64))) |
(-.f64 x (*.f64 #s(literal -1/500 binary64) y)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x))) (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 1/500 binary64) y) (-.f64 (*.f64 #s(literal 1/500 binary64) y) x) (*.f64 x x)))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/500 binary64) y) #s(literal 3 binary64)) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y))))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 y y) #s(literal 1/250000 binary64) (*.f64 x (-.f64 x (*.f64 #s(literal 1/500 binary64) y)))))) |
(+.f64 (*.f64 #s(literal 1/500 binary64) y) x) |
(+.f64 x (*.f64 #s(literal 1/500 binary64) y)) |
#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 (+ (* 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 (/ y 500)) x) |
#s(approx (+ x (/ y 500)) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/500 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ (* 1/500 y) x) x) |
#s(approx (+ (* 1/500 y) x) (*.f64 (fma.f64 (/.f64 y x) #s(literal 1/500 binary64) #s(literal 1 binary64)) x)) |
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/500 binary64) (/.f64 y x) #s(literal -1 binary64)))) |
#s(approx (+ (* 1/500 y) x) (*.f64 (neg.f64 x) (fma.f64 #s(literal -1/500 binary64) (/.f64 y x) #s(literal -1 binary64)))) |
#s(approx (* 1/500 y) (*.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 (+ (* 1/500 y) x) (*.f64 (+.f64 (/.f64 x y) #s(literal 1/500 binary64)) y)) |
#s(approx (+ x (/ y 500)) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1/500 binary64)))) |
#s(approx (+ (* 1/500 y) x) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1/500 binary64)))) |
Compiled 768 to 138 computations (82% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 0 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 46 | 4 | 50 |
| 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)) |
| ✓ | 52.1% | #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
| ✓ | 50.3% | #s(approx (+ x (/ y 500)) x) |
Compiled 62 to 41 computations (33.9% saved)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) 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)) |
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
4 calls:
| 3.0ms | (/.f64 y #s(literal 500 binary64)) |
| 2.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 2.0ms | x |
| 2.0ms | y |
| 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)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) 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)) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
4 calls:
| 2.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 2.0ms | x |
| 2.0ms | (/.f64 y #s(literal 500 binary64)) |
| 2.0ms | y |
| 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)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) x) |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) x) |
#s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) |
#s(approx (+ x (/ y 500)) x) |
4 calls:
| 1.0ms | y |
| 1.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 1.0ms | x |
| 1.0ms | (/.f64 y #s(literal 500 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 78.8% | 3 | (/.f64 y #s(literal 500 binary64)) |
| 59.3% | 4 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 79.3% | 3 | x |
| 78.8% | 3 | y |
Compiled 10 to 13 computations (-30% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ x (/ y 500)) x) |
| Outputs |
|---|
#s(approx (+ x (/ y 500)) x) |
4 calls:
| 1.0ms | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 1.0ms | (/.f64 y #s(literal 500 binary64)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.3% | 1 | (+.f64 x (/.f64 y #s(literal 500 binary64))) |
| 50.3% | 1 | (/.f64 y #s(literal 500 binary64)) |
| 50.3% | 1 | y |
| 50.3% | 1 | x |
Compiled 10 to 13 computations (-30% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 5.0ms | 2.9192263208956696e-27 | 4.9141483551488495e-27 |
| 7.0ms | -9.995253355792042e+93 | -1.0816648506198311e+92 |
| 5.0ms | 176× | 0 | valid |
Compiled 184 to 186 computations (-1.1% saved)
ival-div!: 1.0ms (65.9% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 47 |
| 1 | 23 | 47 |
| 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)) |
(if (<=.f64 x #s(literal -111999999999999994436969229798891252087124201612705496126380044497994319492461723713246593024 binary64)) #s(approx (+ x (/ y 500)) x) (if (<=.f64 x #s(literal 6550843902068371/1393796574908163946345982392040522594123776 binary64)) #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #s(approx (+ x (/ y 500)) x))) |
#s(approx (+ x (/ y 500)) x) |
| Outputs |
|---|
(+.f64 x (/.f64 y #s(literal 500 binary64))) |
#s(approx (+ x (/ y 500)) (fma.f64 #s(literal 1/500 binary64) y x)) |
(if (<=.f64 x #s(literal -111999999999999994436969229798891252087124201612705496126380044497994319492461723713246593024 binary64)) #s(approx (+ x (/ y 500)) x) (if (<=.f64 x #s(literal 6550843902068371/1393796574908163946345982392040522594123776 binary64)) #s(approx (+ x (/ y 500)) (*.f64 #s(literal 1/500 binary64) y)) #s(approx (+ x (/ y 500)) x))) |
#s(approx (+ x (/ y 500)) x) |
| 1× | done |
Compiled 53 to 20 computations (62.3% saved)
Compiled 116 to 50 computations (56.9% saved)
Loading profile data...