
Time bar (total: 1.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 12.5% | 12.5% | 87.4% | 0.1% | 0% | 0% | 0% | 4 |
| 31.3% | 31.2% | 68.7% | 0.1% | 0% | 0% | 0% | 5 |
| 31.3% | 31.2% | 68.7% | 0.1% | 0% | 0% | 0% | 6 |
| 37.5% | 37.5% | 62.4% | 0.1% | 0% | 0% | 0% | 7 |
| 51.6% | 51.5% | 48.4% | 0.1% | 0% | 0% | 0% | 8 |
| 67.2% | 67.1% | 32.8% | 0.1% | 0% | 0% | 0% | 9 |
| 74.6% | 74.5% | 25.4% | 0.1% | 0% | 0% | 0% | 10 |
| 83.2% | 83.1% | 16.8% | 0.1% | 0% | 0% | 0% | 11 |
| 87% | 86.9% | 13% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 15 to 11 computations (26.7% saved)
| 374.0ms | 8 256× | 0 | valid |
ival-pow2: 145.0ms (73.5% of total)ival-add!: 19.0ms (9.6% of total)ival-fmax: 18.0ms (9.1% of total)ival-sub!: 15.0ms (7.6% of total)adjust: 1.0ms (0.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | (pow.f64 y #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (fmax.f64 x y) |
| 0 | 0 | - | 0 | - | #s(literal 1/2 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 |
| 40.0ms | 512× | 0 | valid |
Compiled 101 to 34 computations (66.3% saved)
ival-pow2: 13.0ms (61.9% of total)ival-fmax: 5.0ms (23.8% of total)ival-sub!: 1.0ms (4.8% of total)ival-add!: 1.0ms (4.8% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 88 |
| 1 | 44 | 84 |
| 2 | 88 | 84 |
| 3 | 163 | 84 |
| 4 | 222 | 84 |
| 5 | 360 | 84 |
| 6 | 883 | 84 |
| 7 | 5953 | 84 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 26 to 20 computations (23.1% saved)
| Inputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 y #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 1/2 binary64) |
(fmax.f64 x y) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (pow y 2) #s(hole binary64 (pow y 2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (pow y 2) y 2 (pow x 2) x 1/2 (fmax x y)) |
| 1.0ms | x | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (pow y 2) y 2 (pow x 2) x 1/2 (fmax x y)) |
| 1.0ms | y | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (pow y 2) y 2 (pow x 2) x 1/2 (fmax x y)) |
| 1.0ms | y | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (pow y 2) y 2 (pow x 2) x 1/2 (fmax x y)) |
| 1.0ms | x | @ | 0 | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (pow y 2) (pow x 2)) (pow y 2) y 2 (pow x 2) x 1/2 (fmax x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 54 | 312 |
| 0 | 61 | 308 |
| 1 | 240 | 300 |
| 0 | 1950 | 263 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
(-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) |
(+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 y #s(literal 2 binary64)) |
y |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 1/2 binary64) |
(fmax.f64 x y) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (+ (pow x 2) (pow y 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2)))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (pow y 2) #s(hole binary64 (pow y 2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (pow y 2) (pow x 2)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2)))))) |
| Outputs |
|---|
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64)))) (-.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (*.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) (*.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64)))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) y) y (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y (*.f64 y #s(literal 1 binary64)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y (fma.f64 x x #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) |
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) |
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) |
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)) |
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))) |
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (+.f64 y x) (-.f64 y x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) |
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) (*.f64 y y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y) (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) y) y (*.f64 x x)) |
(fma.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x) (*.f64 y y)) |
(fma.f64 (*.f64 #s(literal 1 binary64) x) x (*.f64 y y)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y)) |
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y)) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y)) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x)) |
(fma.f64 x (*.f64 x #s(literal 1 binary64)) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y (*.f64 y #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)) |
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 y x) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(*.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 #s(literal 1 binary64) y)) |
(*.f64 (*.f64 #s(literal 1 binary64) y) y) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 #s(literal 1 binary64) (*.f64 y y)) |
(*.f64 (*.f64 y y) #s(literal 1 binary64)) |
(*.f64 y (*.f64 y #s(literal 1 binary64))) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 y y) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y y)) #s(literal 2 binary64)) |
(exp.f64 (fma.f64 (log.f64 y) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
y |
#s(literal 2 binary64) |
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x (*.f64 x #s(literal 1 binary64))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) |
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(literal 1/2 binary64) |
(fmax.f64 x y) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 y y)) |
#s(approx (+ (pow y 2) (pow x 2)) (fma.f64 x x (*.f64 y y))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx x x) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 x x)) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (pow y 2) (*.f64 y y)) |
#s(approx y y) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (+ (pow y 2) (pow x 2)) (*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) (*.f64 y y))) |
Compiled 2 291 to 508 computations (77.8% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 122 | 5 | 127 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 123 | 5 | 128 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ▶ | 68.1% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ▶ | 69.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ▶ | 57.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ▶ | 59.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
Compiled 162 to 114 computations (29.6% saved)
| Inputs |
|---|
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) |
y |
(fma.f64 x x #s(literal -1/2 binary64)) |
x |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y #s(literal -1/2 binary64)) |
| Outputs |
|---|
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) y (+ (* x x) -1/2) x -1/2 (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2)) |
| 1.0ms | y | @ | inf | ((fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) y (+ (* x x) -1/2) x -1/2 (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2)) |
| 1.0ms | x | @ | -inf | ((fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) y (+ (* x x) -1/2) x -1/2 (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2)) |
| 1.0ms | y | @ | -inf | ((fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) y (+ (* x x) -1/2) x -1/2 (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2)) |
| 1.0ms | x | @ | 0 | ((fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) y (+ (* x x) -1/2) x -1/2 (fmax x y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* x x) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (* y y) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 585 |
| 0 | 99 | 569 |
| 1 | 326 | 507 |
| 0 | 2694 | 505 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) |
y |
(fma.f64 x x #s(literal -1/2 binary64)) |
x |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 x x) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 y y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y #s(literal -1/2 binary64)) |
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
| Outputs |
|---|
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64)))) (-.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (fma.f64 y y #s(literal -1/2 binary64)) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 (*.f64 (fma.f64 y y #s(literal -1/2 binary64)) (fma.f64 y y #s(literal -1/2 binary64))) (*.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal -1/8 binary64)) (+.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (-.f64 #s(literal 1/4 binary64) (*.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64))) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y))))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (neg.f64 y) (neg.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) (fma.f64 x x #s(literal -1/2 binary64))) |
(fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) |
(fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64)))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))))) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 3 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x (fma.f64 y y #s(literal 1/2 binary64))) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 2 binary64))))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x))) (/.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 2 binary64)) (-.f64 (fma.f64 y y #s(literal 1/2 binary64)) (*.f64 x x)))) |
(-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 (neg.f64 y) y)) |
(-.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 (fma.f64 x x #s(literal -1/2 binary64)) #s(literal 3 binary64)) (fma.f64 (fma.f64 x x #s(literal -1/2 binary64)) (-.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) |
(+.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) |
(+.f64 (fma.f64 x x (*.f64 y y)) #s(literal -1/2 binary64)) |
(+.f64 (*.f64 x x) (fma.f64 y y #s(literal -1/2 binary64))) |
(+.f64 (*.f64 y y) (fma.f64 x x #s(literal -1/2 binary64))) |
(+.f64 #s(literal -1/2 binary64) (fma.f64 x x (*.f64 y y))) |
y |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 x x #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fma.f64 x x #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 x x) #s(literal -1/2 binary64))))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal -1/2 binary64)) |
(fma.f64 x x #s(literal -1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 x x #s(literal 1/2 binary64)) (pow.f64 x #s(literal 4 binary64))))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 x x #s(literal 1/2 binary64)))) |
(-.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 x x)) (pow.f64 x #s(literal 4 binary64))))) |
(+.f64 (*.f64 x x) #s(literal -1/2 binary64)) |
(+.f64 #s(literal -1/2 binary64) (*.f64 x x)) |
x |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(literal -1/2 binary64) (*.f64 y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal 1/8 binary64))) (neg.f64 (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64))) (neg.f64 (fma.f64 y y #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/4 binary64)) (fma.f64 y y #s(literal 1/2 binary64))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal 1/8 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64)))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64))) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 y y) #s(literal -1/2 binary64))))) |
(/.f64 (+.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) #s(literal -1/2 binary64)) |
(fma.f64 (neg.f64 y) (neg.f64 y) #s(literal -1/2 binary64)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(literal -1/2 binary64)) |
(fma.f64 y y #s(literal -1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 y y #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (fma.f64 y y #s(literal 1/2 binary64)))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal 1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1/2 binary64)) (pow.f64 y #s(literal 4 binary64))))) |
(-.f64 (*.f64 y y) #s(literal 1/2 binary64)) |
(-.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 y) y)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 #s(literal -1/8 binary64) (fma.f64 #s(literal -1/2 binary64) (-.f64 #s(literal -1/2 binary64) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 (*.f64 y y) #s(literal -1/2 binary64)) |
(+.f64 #s(literal -1/2 binary64) (*.f64 y y)) |
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx x x) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
#s(approx (+ (* x x) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) x) x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx y y) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (* y y) (*.f64 y y)) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
#s(approx (+ (* y y) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 y #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) y) y)) |
Compiled 3 786 to 600 computations (84.2% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 174 | 2 | 176 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 175 | 6 | 181 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 86.7% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 68.1% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 69.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 57.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 59.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ▶ | 30.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 107 to 76 computations (29% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
x |
y |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | y | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x)) |
| 1.0ms | x | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x)) |
| 1.0ms | x | @ | -inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x)) |
| 1.0ms | y | @ | inf | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x)) |
| 0.0ms | x | @ | 0 | ((fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (- (+ (pow y 2) (pow x 2)) 1/2) (+ (* y y) -1/2) -1/2 (fmax x y) x y (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) (+ (* y y) (+ (* x x) -1/2)) (+ (* x x) -1/2) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 531 |
| 0 | 80 | 519 |
| 1 | 318 | 503 |
| 0 | 2783 | 433 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
x |
y |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (fmax x y) #s(hole binary64 (fmax x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (fmax (+ (* y y) (+ (* x x) -1/2)) (fmax x y)) #s(hole binary64 (fmax (- (+ (pow x 2) (pow y 2)) 1/2) (fmax x y)))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (+ (pow x 2) (pow y 2)) 1/2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow x 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow x 2) (- (+ 1 (/ (pow y 2) (pow x 2))) (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) -1/2) #s(hole binary64 (* (pow x 2) (- 1 (* 1/2 (/ 1 (pow x 2))))))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 -1/2)) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (- (pow y 2) 1/2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (- (pow x 2) 1/2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (pow y 2))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) -1/2) #s(hole binary64 (* (pow y 2) (- 1 (* 1/2 (/ 1 (pow y 2))))))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (pow y 2))) |
#s(approx (+ (* y y) (+ (* x x) -1/2)) #s(hole binary64 (* (pow y 2) (- (+ 1 (/ (pow x 2) (pow y 2))) (* 1/2 (/ 1 (pow y 2))))))) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(literal -1/2 binary64) |
(fmax.f64 x y) |
x |
y |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
(/.f64 (-.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64)))) (neg.f64 (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64))) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 (neg.f64 y) (neg.f64 y) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x)))) (/.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 2 binary64)) (-.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x))))) |
(-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 (neg.f64 y) y)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) #s(literal 3 binary64)) (fma.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (-.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) (pow.f64 y #s(literal 4 binary64))))) |
(+.f64 #s(approx (+ (* x x) -1/2) (*.f64 x x)) (*.f64 y y)) |
(+.f64 (*.f64 y y) #s(approx (+ (* x x) -1/2) (*.f64 x x))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (fmax x y) (fmax.f64 x y)) |
#s(approx x x) |
#s(approx (fmax (- (+ (pow y 2) (pow x 2)) 1/2) (fmax x y)) (fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64)))) |
#s(approx (+ (* x x) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* x x) -1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 y y #s(literal -1/2 binary64)) (*.f64 x x)) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (+ (* x x) -1/2) (*.f64 x x)) |
#s(approx (+ (* x x) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) x) x)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64)) |
#s(approx (+ (* y y) -1/2) (fma.f64 y y #s(literal -1/2 binary64))) |
#s(approx y y) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (+ (* y y) -1/2) (*.f64 y y)) |
#s(approx (+ (* y y) -1/2) (*.f64 (*.f64 (fma.f64 (pow.f64 y #s(literal -2 binary64)) #s(literal -1/2 binary64) #s(literal 1 binary64)) y) y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) |
#s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 (+.f64 (/.f64 (fma.f64 x x #s(literal -1/2 binary64)) (*.f64 y y)) #s(literal 1 binary64)) (*.f64 y y))) |
Compiled 1 263 to 233 computations (81.6% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 0 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 53 | 6 | 59 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.7% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 68.1% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 69.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ✓ | 57.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 59.3% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ✓ | 30.8% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 238 to 118 computations (50.4% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
3 calls:
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 2 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 99.8% | 3 | x |
| 99.8% | 3 | y |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
3 calls:
| 6.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 93.5% | 3 | x |
| 91.9% | 3 | y |
| 73.5% | 3 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 15 to 14 computations (6.7% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
2 calls:
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 91.9% | 3 | y |
| 82.6% | 3 | x |
Compiled 2 to 4 computations (-100% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
2 calls:
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.6% | 3 | x |
| 81.4% | 3 | y |
Compiled 2 to 4 computations (-100% saved)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
3 calls:
| 1.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 1.0ms | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 69.6% | 2 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 59.3% | 1 | y |
| 69.6% | 3 | x |
Compiled 15 to 14 computations (6.7% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| Outputs |
|---|
(fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) #s(approx (+ (* y y) -1/2) #s(literal -1/2 binary64))) (fmax.f64 x y)) |
3 calls:
| 2.0ms | y |
| 1.0ms | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 30.8% | 1 | y |
| 30.8% | 1 | x |
| 30.8% | 1 | (fmax.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)) (fmax.f64 x y)) |
Compiled 15 to 14 computations (6.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 310324.80591010756 | 6431446.835320783 |
Compiled 16 to 15 computations (6.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 4.1655720719356926e+27 | 3.118059052830427e+30 |
| 9.0ms | -1290400311252595.5 | -199857757276165.2 |
| 12.0ms | 224× | 0 | valid |
Compiled 506 to 392 computations (22.5% saved)
ival-pow2: 4.0ms (53.9% of total)ival-fmax: 2.0ms (26.9% of total)ival-sub!: 1.0ms (13.5% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | 1.1321653861144989e+63 | 9.408107167376968e+80 |
| 10.0ms | -1.8511607667624824e+74 | -1.5110496204980627e+73 |
| 15.0ms | 256× | 0 | valid |
Compiled 576 to 446 computations (22.6% saved)
ival-pow2: 6.0ms (62.1% of total)ival-fmax: 2.0ms (20.7% of total)ival-sub!: 1.0ms (10.4% of total)ival-add!: 1.0ms (10.4% of total)adjust: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 4.1655720719356926e+27 | 3.118059052830427e+30 |
| 1.0ms | -1290400311252595.5 | -199857757276165.2 |
Compiled 492 to 378 computations (23.2% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.3993581126100388e-161 | 2.651967321552762e-161 |
Compiled 16 to 15 computations (6.3% saved)
| 1× | done |
Compiled 315 to 62 computations (80.3% saved)
Compiled 656 to 144 computations (78% saved)
Loading profile data...