
Time bar (total: 1.7s)
| 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)
| 653.0ms | 8 256× | 0 | valid |
ival-pow2: 139.0ms (77.9% of total)ival-sub!: 17.0ms (9.5% of total)ival-add!: 15.0ms (8.4% of total)ival-fmax: 6.0ms (3.4% of total)adjust: 1.0ms (0.6% 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 |
| 35.0ms | 512× | 0 | valid |
Compiled 101 to 34 computations (66.3% saved)
ival-pow2: 10.0ms (55.8% of total)ival-fmax: 5.0ms (27.9% of total)ival-sub!: 1.0ms (5.6% of total)ival-add!: 1.0ms (5.6% 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 | 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)) |
| 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)) |
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 444 to 509 computations (79.2% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 134 | 5 | 139 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 135 | 5 | 140 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fmax.f64 (fma.f64 y y (fma.f64 x x #s(literal -1/2 binary64))) (fmax.f64 x y)) |
| ▶ | 64.9% | (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)) |
| ▶ | 73.1% | (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)) |
| ▶ | 55.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ▶ | 65.1% | (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 | |
|---|---|---|---|---|
| 11.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)) |
| 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)) |
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 4 503 to 605 computations (86.6% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 219 | 2 | 221 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 220 | 6 | 226 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 89.8% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 64.9% | (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)) |
| ✓ | 73.1% | (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)) |
| ✓ | 55.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 65.1% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ▶ | 33.1% | (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 | |
|---|---|---|---|---|
| 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)) |
| 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 656 to 243 computations (85.3% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 75 | 0 | 75 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 75 | 6 | 81 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 89.8% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 64.9% | (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)) |
| ✓ | 73.1% | (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)) |
| ✓ | 55.7% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 65.1% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ✓ | 33.1% | (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 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)) |
3 calls:
| 2.0ms | y |
| 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)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 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.7% | 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) (fma.f64 x x #s(literal -1/2 binary64))) (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 |
|---|---|---|
| 91.4% | 3 | y |
| 93.2% | 3 | x |
| 77.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:
| 3.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 91.4% | 3 | y |
| 85.2% | 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 | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 83.9% | 3 | x |
| 83.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 | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 72.9% | 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)) |
| 65.1% | 1 | y |
| 72.9% | 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:
| 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 |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 33.1% | 1 | y |
| 33.1% | 1 | x |
| 33.1% | 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 | 480.478849329979 | 1298954.5487348032 |
Compiled 16 to 15 computations (6.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 14.0ms | 2404.376360237014 | 66718923.41255061 |
| 14.0ms | -1.4566406532774808e+26 | -1.6031185011461514e+23 |
| 14.0ms | 256× | 0 | valid |
Compiled 584 to 454 computations (22.3% saved)
ival-pow2: 5.0ms (57.2% of total)ival-fmax: 2.0ms (22.9% of total)ival-sub!: 1.0ms (11.4% of total)ival-add!: 1.0ms (11.4% of total)adjust: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 2.8988573537367633e+54 | 1.4112003878890377e+55 |
| 9.0ms | -2.6332027025419265e+26 | -4.040653734904013e+25 |
| 14.0ms | 192× | 0 | valid |
Compiled 436 to 338 computations (22.5% saved)
ival-pow2: 7.0ms (70.3% of total)ival-fmax: 2.0ms (20.1% of total)ival-sub!: 0.0ms (0% 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 |
|---|---|---|
| 5.0ms | 2404.376360237014 | 66718923.41255061 |
| 1.0ms | -1.4566406532774808e+26 | -1.6031185011461514e+23 |
| 3.0ms | 48× | 0 | valid |
Compiled 560 to 430 computations (23.2% saved)
ival-pow2: 1.0ms (60.6% of total)ival-fmax: 0.0ms (0% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.3970782422747916e-144 | 8.576787177040394e-131 |
Compiled 16 to 15 computations (6.3% saved)
| 1× | done |
Compiled 316 to 64 computations (79.7% saved)
Compiled 658 to 148 computations (77.5% saved)
Loading profile data...