
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)
| 357.0ms | 8 256× | 0 | valid |
ival-pow2: 133.0ms (76.6% of total)ival-add!: 16.0ms (9.2% of total)ival-sub!: 15.0ms (8.6% of total)ival-fmax: 8.0ms (4.6% of total)adjust: 2.0ms (1.2% 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 |
| 33.0ms | 512× | 0 | valid |
Compiled 101 to 34 computations (66.3% saved)
ival-pow2: 10.0ms (56.5% of total)ival-fmax: 5.0ms (28.2% 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: 0 (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 |
| 0 | 10 | 13 |
| 0 | 16 | 13 |
| 1 | 23 | 13 |
| 2 | 45 | 13 |
| 3 | 101 | 13 |
| 4 | 201 | 13 |
| 5 | 336 | 13 |
| 6 | 833 | 13 |
| 7 | 5603 | 13 |
| 0 | 8964 | 11 |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| 1× | node-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)) |
| Outputs |
|---|
(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)) |
(fmax.f64 (fma.f64 x x (fma.f64 y y #s(literal -1/2 binary64))) (fmax.f64 x y)) |
Compiled 13 to 10 computations (23.1% saved)
Compiled 0 to 2 computations (-∞% saved)
| 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 13 to 10 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)) |
| ▶ | 67.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)) |
| ▶ | 67.0% | (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)) |
| ▶ | 59.2% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ▶ | 58.9% | (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 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 |
|---|---|---|
| ▶ | 90.1% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 67.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)) |
| ✓ | 67.0% | (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)) |
| ✓ | 59.2% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 58.9% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ▶ | 29.3% | (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 |
|---|---|---|
| ✓ | 90.1% | (fmax.f64 (fma.f64 y y #s(approx (+ (* x x) -1/2) (*.f64 x x))) (fmax.f64 x y)) |
| ✓ | 67.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)) |
| ✓ | 67.0% | (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)) |
| ✓ | 59.2% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 y y)) (fmax.f64 x y)) |
| ✓ | 58.9% | (fmax.f64 #s(approx (- (+ (pow y 2) (pow x 2)) 1/2) (*.f64 x x)) (fmax.f64 x y)) |
| ✓ | 29.3% | (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 | 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)) |
| 3.0ms | x |
| 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 | (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 | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 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)) |
| 100.0% | 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) (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 #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:
| 4.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 | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 93.6% | 3 | y |
| 94.8% | 3 | x |
| 71.5% | 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)) |
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 |
|---|---|---|
| 93.6% | 3 | y |
| 87.3% | 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:
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 86.9% | 3 | x |
| 85.5% | 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 |
|---|---|---|
| 67.0% | 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)) |
| 58.9% | 1 | y |
| 66.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 | y |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 29.3% | 1 | y |
| 29.3% | 1 | x |
| 29.3% | 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 | 7480.591219289222 | 13315890025479.629 |
Compiled 16 to 15 computations (6.3% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 6.014019304487588e+38 | 3.726434384560342e+40 |
| 15.0ms | -3649094.411697254 | -1.062250815810585 |
| 15.0ms | 256× | 0 | valid |
Compiled 592 to 462 computations (22% saved)
ival-pow2: 5.0ms (55.1% of total)ival-fmax: 2.0ms (22.1% of total)ival-sub!: 1.0ms (11% of total)ival-add!: 1.0ms (11% of total)adjust: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 4.8443728876826955e+34 | 7.186830553339014e+37 |
| 13.0ms | -7.642039987091957e+29 | -1.4780707550336657e+25 |
| 15.0ms | 256× | 0 | valid |
Compiled 576 to 446 computations (22.6% saved)
ival-pow2: 5.0ms (55.5% of total)ival-fmax: 3.0ms (33.3% of total)ival-sub!: 1.0ms (11.1% of total)ival-add!: 1.0ms (11.1% of total)adjust: 0.0ms (0% of total)| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 6.014019304487588e+38 | 3.726434384560342e+40 |
| 15.0ms | -9851544000012.664 | -144545280.32101512 |
| 10.0ms | 144× | 0 | valid |
Compiled 560 to 430 computations (23.2% saved)
ival-pow2: 4.0ms (62.3% of total)ival-fmax: 1.0ms (15.6% 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 | 2.89962027530803e-121 | 7.790044673137842e-120 |
Compiled 16 to 15 computations (6.3% saved)
| 1× | done |
Compiled 317 to 64 computations (79.8% saved)
Compiled 660 to 148 computations (77.6% saved)
Loading profile data...