
Time bar (total: 6.8s)
| 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 |
| 0% | 0% | 49.9% | 0.1% | 0% | 49.9% | 0% | 4 |
| 0% | 0% | 49.9% | 0.1% | 0% | 49.9% | 0% | 5 |
| 0% | 0% | 49.9% | 0.1% | 0% | 49.9% | 0% | 6 |
| 9.4% | 4.7% | 45.2% | 0.1% | 0% | 49.9% | 0% | 7 |
| 17.2% | 8.6% | 41.3% | 0.1% | 0% | 49.9% | 0% | 8 |
| 27.3% | 13.7% | 36.3% | 0.1% | 0% | 49.9% | 0% | 9 |
| 41% | 20.5% | 29.4% | 0.1% | 0% | 49.9% | 0% | 10 |
| 48.6% | 24.3% | 25.6% | 0.1% | 0% | 49.9% | 0% | 11 |
| 57.1% | 28.5% | 21.4% | 0.1% | 0% | 49.9% | 0% | 12 |
Compiled 30 to 17 computations (43.3% saved)
| 1.3s | 8 256× | 0 | valid |
ival-log: 221.0ms (23.5% of total)ival-mult: 189.0ms (20.1% of total)ival-hypot: 152.0ms (16.2% of total)ival-sub: 128.0ms (13.6% of total)ival-div: 112.0ms (11.9% of total)ival-atan2: 82.0ms (8.7% of total)ival-add: 39.0ms (4.1% of total)ival-true: 7.0ms (0.7% of total)exact: 5.0ms (0.5% of total)adjust: 3.0ms (0.3% of total)ival-assert: 3.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 133 | 0 | - | 0 | - | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 3 | 0 | - | 2 | (2.4128227808034202e+176 2.709863310985432e-135 1.9020550034824062e-140) | (*.f64 (atan2.f64 im re) (log.f64 base)) |
| 0 | 0 | - | 0 | - | (log.f64 base) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
| 0 | 0 | - | 0 | - | (*.f64 re re) |
| 0 | 0 | - | 0 | - | (atan2.f64 im re) |
| 0 | 0 | - | 0 | - | im |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 0 | 0 | - | 0 | - | re |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64))) |
| 0 | 0 | - | 0 | - | (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 0 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (log.f64 base) (log.f64 base)) |
| 0 | 0 | - | 0 | - | (*.f64 im im) |
| 0 | 0 | - | 0 | - | base |
| 0 | 0 | - | 0 | - | (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) | oflow-rescue | 118 | 0 |
| ↳ | (+.f64 (*.f64 re re) (*.f64 im im)) | overflow | 118 | |
| ↳ | (*.f64 re re) | overflow | 66 | |
| ↳ | (*.f64 im im) | overflow | 72 | |
*.f64 | (*.f64 (atan2.f64 im re) (log.f64 base)) | n*u | 1 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 118 | 15 |
| - | 0 | 123 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 118 | 0 | 15 |
| - | 0 | 0 | 123 |
| number | freq |
|---|---|
| 0 | 138 |
| 1 | 117 |
| 2 | 1 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 108.0ms | 512× | 0 | valid |
Compiled 270 to 58 computations (78.5% saved)
ival-log: 26.0ms (39.1% of total)ival-mult: 16.0ms (24.1% of total)ival-hypot: 9.0ms (13.5% of total)ival-add: 5.0ms (7.5% of total)ival-atan2: 5.0ms (7.5% of total)ival-div: 3.0ms (4.5% of total)ival-sub: 3.0ms (4.5% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 76 | 139 |
| 1 | 219 | 121 |
| 2 | 928 | 78 |
| 3 | 5995 | 78 |
| 0 | 18 | 26 |
| 0 | 34 | 14 |
| 1 | 63 | 12 |
| 2 | 180 | 8 |
| 3 | 921 | 6 |
| 4 | 2477 | 6 |
| 5 | 5141 | 6 |
| 0 | 8291 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
Compiled 28 to 18 computations (35.7% saved)
Compiled 0 to 3 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 47.7% | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
Compiled 28 to 18 computations (35.7% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 2 | (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) | |
| cost-diff | 4 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) | |
| cost-diff | 5 | (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) | |
| cost-diff | 5 | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 113 |
| 0 | 34 | 77 |
| 1 | 63 | 75 |
| 2 | 180 | 71 |
| 3 | 921 | 69 |
| 4 | 2477 | 69 |
| 5 | 5141 | 67 |
| 0 | 8291 | 56 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
im |
re |
(log.f64 base) |
base |
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) |
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
(*.f64 im im) |
#s(literal 0 binary64) |
(+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(*.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(atan2.f64 im re) |
im |
re |
(log.f64 base) |
base |
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) |
(log.f64 (hypot.f64 re im)) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(hypot.f64 re im) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 re re (*.f64 im im)) |
(*.f64 re re) |
(*.f64 im im) |
#s(literal 0 binary64) |
(+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(*.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.32650375976844204 | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) | |
| accuracy | 0.42408345158010885 | (*.f64 (atan2.f64 im re) (log.f64 base)) | |
| accuracy | 0.521816259768442 | (*.f64 (log.f64 base) (log.f64 base)) | |
| accuracy | 30.93770391496002 | (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
| 81.0ms | 256× | 0 | valid |
Compiled 121 to 20 computations (83.5% saved)
ival-mult: 26.0ms (59.3% of total)ival-log: 5.0ms (11.4% of total)ival-hypot: 4.0ms (9.1% of total)ival-div: 2.0ms (4.6% of total)ival-add: 2.0ms (4.6% of total)ival-atan2: 2.0ms (4.6% of total)ival-sub: 1.0ms (2.3% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
0 |
im |
(+ im (* 1/2 (/ (pow re 2) im))) |
(+ im (* (pow re 2) (+ (* -1/8 (/ (pow re 2) (pow im 3))) (* 1/2 (/ 1 im))))) |
(+ im (* (pow re 2) (+ (* (pow re 2) (- (* 1/16 (/ (pow re 2) (pow im 5))) (* 1/8 (/ 1 (pow im 3))))) (* 1/2 (/ 1 im))))) |
(* (log base) (atan2 im re)) |
re |
(* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2))))) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(* -1 re) |
(* -1 (* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2)))))))) |
(+ re (* 1/2 (/ (pow im 2) re))) |
(+ re (* (pow im 2) (+ (* -1/8 (/ (pow im 2) (pow re 3))) (* 1/2 (/ 1 re))))) |
(+ re (* (pow im 2) (+ (* (pow im 2) (- (* 1/16 (/ (pow im 2) (pow re 5))) (* 1/8 (/ 1 (pow re 3))))) (* 1/2 (/ 1 re))))) |
(* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2))))) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(* -1 im) |
(* -1 (* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2)))))))) |
(pow (log base) 2) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(pow (log (/ 1 base)) 2) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 33.0ms | base | @ | 0 | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (* (log (sqrt (+ (* re re) (* im im)))) 0) (sqrt (+ (* re re) (* im im))) (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (* (log base) (log base)) (* (atan2 im re) (log base))) |
| 31.0ms | re | @ | 0 | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (* (log (sqrt (+ (* re re) (* im im)))) 0) (sqrt (+ (* re re) (* im im))) (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (* (log base) (log base)) (* (atan2 im re) (log base))) |
| 21.0ms | base | @ | -inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (* (log (sqrt (+ (* re re) (* im im)))) 0) (sqrt (+ (* re re) (* im im))) (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (* (log base) (log base)) (* (atan2 im re) (log base))) |
| 15.0ms | re | @ | inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (* (log (sqrt (+ (* re re) (* im im)))) 0) (sqrt (+ (* re re) (* im im))) (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (* (log base) (log base)) (* (atan2 im re) (log base))) |
| 10.0ms | im | @ | -inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (* (log (sqrt (+ (* re re) (* im im)))) 0) (sqrt (+ (* re re) (* im im))) (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (* (log base) (log base)) (* (atan2 im re) (log base))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 121 | 469 |
| 1 | 343 | 466 |
| 2 | 1369 | 460 |
| 3 | 6811 | 460 |
| 0 | 8171 | 426 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ (atan2 im re) (log base)) |
0 |
im |
(+ im (* 1/2 (/ (pow re 2) im))) |
(+ im (* (pow re 2) (+ (* -1/8 (/ (pow re 2) (pow im 3))) (* 1/2 (/ 1 im))))) |
(+ im (* (pow re 2) (+ (* (pow re 2) (- (* 1/16 (/ (pow re 2) (pow im 5))) (* 1/8 (/ 1 (pow im 3))))) (* 1/2 (/ 1 im))))) |
(* (log base) (atan2 im re)) |
re |
(* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2))))) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(* -1 re) |
(* -1 (* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2)))))))) |
(+ re (* 1/2 (/ (pow im 2) re))) |
(+ re (* (pow im 2) (+ (* -1/8 (/ (pow im 2) (pow re 3))) (* 1/2 (/ 1 re))))) |
(+ re (* (pow im 2) (+ (* (pow im 2) (- (* 1/16 (/ (pow im 2) (pow re 5))) (* 1/8 (/ 1 (pow re 3))))) (* 1/2 (/ 1 re))))) |
(* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2))))) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(* -1 im) |
(* -1 (* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2)))))))) |
(pow (log base) 2) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(pow (log (/ 1 base)) 2) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
0 |
#s(literal 0 binary64) |
im |
(+ im (* 1/2 (/ (pow re 2) im))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) im) (*.f64 re re) im) |
(+ im (* (pow re 2) (+ (* -1/8 (/ (pow re 2) (pow im 3))) (* 1/2 (/ 1 im))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 (*.f64 re re) im) im) #s(literal -1/8 binary64) #s(literal 1/2 binary64)) im) (*.f64 re re) im) |
(+ im (* (pow re 2) (+ (* (pow re 2) (- (* 1/16 (/ (pow re 2) (pow im 5))) (* 1/8 (/ 1 (pow im 3))))) (* 1/2 (/ 1 im))))) |
(fma.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) re) (/.f64 re (pow.f64 im #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 im #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) im) (*.f64 re re) im)) |
(* (log base) (atan2 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
re |
(* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2))))) |
(fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) re) im) (/.f64 (/.f64 im re) re) re) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(*.f64 (fma.f64 (pow.f64 im #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 im re)) (/.f64 im re) #s(literal 1 binary64))) re) |
(* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(*.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 re #s(literal 6 binary64))) (fma.f64 (pow.f64 im #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 im re)) (/.f64 im re) #s(literal 1 binary64)))) re) |
(* -1 re) |
(neg.f64 re) |
(* -1 (* re (+ 1 (* 1/2 (/ (pow im 2) (pow re 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) re) (/.f64 (*.f64 im im) re) #s(literal -1 binary64)) re) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (* 1/2 (/ (pow im 2) (pow re 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) re) (/.f64 (*.f64 im im) re) #s(literal -1 binary64))) re) |
(* -1 (* re (+ 1 (+ (* -1/8 (/ (pow im 4) (pow re 4))) (+ (* 1/16 (/ (pow im 6) (pow re 6))) (* 1/2 (/ (pow im 2) (pow re 2)))))))) |
(*.f64 (neg.f64 re) (fma.f64 (pow.f64 im #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 re #s(literal 6 binary64))) (fma.f64 (pow.f64 im #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 im re)) (/.f64 im re) #s(literal 1 binary64))))) |
(+ re (* 1/2 (/ (pow im 2) re))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) re) (*.f64 im im) re) |
(+ re (* (pow im 2) (+ (* -1/8 (/ (pow im 2) (pow re 3))) (* 1/2 (/ 1 re))))) |
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) re) re) (*.f64 im im) #s(literal 1/2 binary64)) re) (*.f64 im im) re) |
(+ re (* (pow im 2) (+ (* (pow im 2) (- (* 1/16 (/ (pow im 2) (pow re 5))) (* 1/8 (/ 1 (pow re 3))))) (* 1/2 (/ 1 re))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) im) (/.f64 im (pow.f64 re #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 re #s(literal 3 binary64)))) (*.f64 im im) (/.f64 #s(literal 1/2 binary64) re)) (*.f64 im im) re) |
(* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2))))) |
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 re re) im) im) #s(literal 1/2 binary64) #s(literal 1 binary64)) im) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 re re) im) im) #s(literal 1/2 binary64) #s(literal 1 binary64))) im) |
(* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(*.f64 (fma.f64 (pow.f64 re #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 im #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 re re) im) im) #s(literal 1/2 binary64) #s(literal 1 binary64)))) im) |
(* -1 im) |
(neg.f64 im) |
(* -1 (* im (+ 1 (* 1/2 (/ (pow re 2) (pow im 2)))))) |
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) im) (/.f64 (*.f64 re re) im) #s(literal -1 binary64)) im) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (* 1/2 (/ (pow re 2) (pow im 2))))))) |
(*.f64 (fma.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) im) (/.f64 (*.f64 re re) im) #s(literal -1 binary64))) im) |
(* -1 (* im (+ 1 (+ (* -1/8 (/ (pow re 4) (pow im 4))) (+ (* 1/16 (/ (pow re 6) (pow im 6))) (* 1/2 (/ (pow re 2) (pow im 2)))))))) |
(*.f64 (neg.f64 im) (fma.f64 (pow.f64 re #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 im #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 re re) im) im) #s(literal 1/2 binary64) #s(literal 1 binary64))))) |
(pow (log base) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(pow (log (/ 1 base)) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base)))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(*.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) (atan2.f64 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 74 |
| 0 | 34 | 38 |
| 1 | 120 | 36 |
| 0 | 965 | 31 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64)) |
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) |
(-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
| Outputs |
|---|
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (/.f64 (log.f64 base) (neg.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base)))) |
(*.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) (/.f64 (log.f64 base) (neg.f64 (log.f64 base)))) |
(*.f64 (/.f64 (log.f64 base) (fabs.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (fabs.f64 (log.f64 base)))) |
(*.f64 (/.f64 (atan2.f64 im re) (fabs.f64 (log.f64 base))) (/.f64 (log.f64 base) (fabs.f64 (log.f64 base)))) |
(*.f64 (/.f64 (log.f64 base) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base))) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (log.f64 base))) (neg.f64 (log.f64 base))) |
(/.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (fabs.f64 (log.f64 base))) (fabs.f64 (log.f64 base))) |
(/.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 base)) (log.f64 base)) |
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) #s(literal 0 binary64)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (-.f64 (pow.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (+.f64 #s(literal 0 binary64) (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64))))) |
(/.f64 (neg.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64)) (*.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(neg.f64 (/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(neg.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64))))) |
(fma.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (log.f64 base) (neg.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (atan2.f64 im re) (neg.f64 (log.f64 base))) (/.f64 (log.f64 base) (neg.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (log.f64 base) (fabs.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (fabs.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (atan2.f64 im re) (fabs.f64 (log.f64 base))) (/.f64 (log.f64 base) (fabs.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (log.f64 base) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (log.f64 base) (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(fma.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(-.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(+.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(*.f64 (pow.f64 (fma.f64 re re (*.f64 im im)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 re re (*.f64 im im)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 re re (*.f64 im im)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 re im) (-.f64 re im)))) |
(/.f64 (hypot.f64 (pow.f64 im #s(literal 3 binary64)) (pow.f64 re #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 (*.f64 re im) #s(literal 2 binary64))) (pow.f64 re #s(literal 4 binary64))))) |
(sqrt.f64 (fma.f64 re re (*.f64 im im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (neg.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) (fabs.f64 im)) |
(hypot.f64 (pow.f64 re #s(literal 1 binary64)) im) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (neg.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) (fabs.f64 re)) |
(hypot.f64 (pow.f64 im #s(literal 1 binary64)) re) |
(hypot.f64 (neg.f64 (neg.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (neg.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (neg.f64 im)) re) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (neg.f64 (fabs.f64 im)) re) |
(hypot.f64 (neg.f64 (neg.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (neg.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (neg.f64 re)) im) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (neg.f64 (fabs.f64 re)) im) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (neg.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 (fabs.f64 im)) re) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (neg.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 (fabs.f64 re)) im) |
(hypot.f64 (neg.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (neg.f64 re) (neg.f64 im)) |
(hypot.f64 (neg.f64 re) (fabs.f64 im)) |
(hypot.f64 (neg.f64 re) im) |
(hypot.f64 (neg.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (neg.f64 im) (neg.f64 re)) |
(hypot.f64 (neg.f64 im) (fabs.f64 re)) |
(hypot.f64 (neg.f64 im) re) |
(hypot.f64 (fabs.f64 re) (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (neg.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (fabs.f64 (fabs.f64 im))) |
(hypot.f64 (fabs.f64 re) (neg.f64 im)) |
(hypot.f64 (fabs.f64 re) (fabs.f64 im)) |
(hypot.f64 (fabs.f64 re) im) |
(hypot.f64 (fabs.f64 im) (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (neg.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (fabs.f64 (fabs.f64 re))) |
(hypot.f64 (fabs.f64 im) (neg.f64 re)) |
(hypot.f64 (fabs.f64 im) (fabs.f64 re)) |
(hypot.f64 (fabs.f64 im) re) |
(hypot.f64 re (pow.f64 im #s(literal 1 binary64))) |
(hypot.f64 re (neg.f64 (neg.f64 im))) |
(hypot.f64 re (neg.f64 (fabs.f64 im))) |
(hypot.f64 re (fabs.f64 (fabs.f64 im))) |
(hypot.f64 re (neg.f64 im)) |
(hypot.f64 re (fabs.f64 im)) |
(hypot.f64 re im) |
(hypot.f64 im (pow.f64 re #s(literal 1 binary64))) |
(hypot.f64 im (neg.f64 (neg.f64 re))) |
(hypot.f64 im (neg.f64 (fabs.f64 re))) |
(hypot.f64 im (fabs.f64 (fabs.f64 re))) |
(hypot.f64 im (neg.f64 re)) |
(hypot.f64 im (fabs.f64 re)) |
(hypot.f64 im re) |
(exp.f64 (*.f64 (log.f64 (fma.f64 re re (*.f64 im im))) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64))) (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) |
(fma.f64 (log.f64 base) (atan2.f64 im re) #s(literal 0 binary64)) |
(fma.f64 (atan2.f64 im re) (log.f64 base) #s(literal 0 binary64)) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (neg.f64 (neg.f64 (log.f64 (hypot.f64 re im)))) #s(literal 0 binary64))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 #s(literal 0 binary64) (*.f64 (log.f64 base) (atan2.f64 im re)))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 #s(literal 0 binary64) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(+.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64)) |
(log.f64 (pow.f64 base (atan2.f64 im re))) |
(*.f64 (+.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64))) |
(*.f64 (+.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64))) |
(*.f64 (+.f64 (log.f64 base) #s(literal 0 binary64)) (-.f64 (log.f64 base) #s(literal 0 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 (log.f64 base))) (neg.f64 (neg.f64 (log.f64 base)))) |
(*.f64 (neg.f64 (fabs.f64 (log.f64 base))) (neg.f64 (fabs.f64 (log.f64 base)))) |
(*.f64 (fabs.f64 (fabs.f64 (log.f64 base))) (fabs.f64 (fabs.f64 (log.f64 base)))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (log.f64 base))) |
(*.f64 (fabs.f64 (log.f64 base)) (fabs.f64 (log.f64 base))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 (log.f64 base)) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (-.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (pow.f64 (log.f64 base) #s(literal 6 binary64))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 6 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(neg.f64 (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(fma.f64 (+.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (+.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (neg.f64 (log.f64 base)) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(fma.f64 (+.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (+.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) (-.f64 (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(fma.f64 (+.f64 (log.f64 base) #s(literal 0 binary64)) (-.f64 (log.f64 base) #s(literal 0 binary64)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (+.f64 (log.f64 base) #s(literal 0 binary64)) (-.f64 (log.f64 base) #s(literal 0 binary64)) #s(literal 0 binary64)) |
(fma.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64)) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (neg.f64 (log.f64 base))) (neg.f64 (neg.f64 (log.f64 base))) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 (log.f64 base))) (neg.f64 (neg.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 (log.f64 base))) (neg.f64 (fabs.f64 (log.f64 base))) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (fabs.f64 (log.f64 base))) (neg.f64 (fabs.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 (log.f64 base))) (fabs.f64 (fabs.f64 (log.f64 base))) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (fabs.f64 (fabs.f64 (log.f64 base))) (fabs.f64 (fabs.f64 (log.f64 base))) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (log.f64 base)) (neg.f64 (log.f64 base)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (log.f64 base)) (neg.f64 (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (fabs.f64 (log.f64 base)) (fabs.f64 (log.f64 base)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (fabs.f64 (log.f64 base)) (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (log.f64 base) (log.f64 base) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64)) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(-.f64 #s(literal 0 binary64) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(fabs.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(+.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re)))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64))) (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) |
(fma.f64 (log.f64 base) (atan2.f64 im re) #s(literal 0 binary64)) |
(fma.f64 (atan2.f64 im re) (log.f64 base) #s(literal 0 binary64)) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (neg.f64 (neg.f64 (log.f64 (hypot.f64 re im)))) #s(literal 0 binary64))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 #s(literal 0 binary64) (*.f64 (log.f64 base) (atan2.f64 im re)))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 #s(literal 0 binary64) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)))) |
(-.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(+.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64)) |
(log.f64 (pow.f64 base (atan2.f64 im re))) |
Compiled 6 357 to 1 048 computations (83.5% saved)
10 alts after pruning (10 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 219 | 10 | 229 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 220 | 10 | 230 |
| Status | Accuracy | Program |
|---|---|---|
| 84.1% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64)) (*.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ▶ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| 47.7% | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) | |
| 99.2% | (/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| ▶ | 99.3% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
| 99.3% | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ▶ | 98.9% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
| 99.0% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| ▶ | 99.2% | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| ▶ | 99.6% | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 384 to 266 computations (30.7% saved)
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 0 | (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) | |
| cost-diff | 3 | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| cost-diff | 11 | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 0 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) | |
| cost-diff | 3 | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 5 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 5 | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (/.f64 (atan2.f64 im re) (log.f64 base)) | |
| cost-diff | 0 | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 218 |
| 0 | 52 | 181 |
| 1 | 96 | 179 |
| 2 | 309 | 170 |
| 3 | 2208 | 168 |
| 4 | 7312 | 168 |
| 0 | 8104 | 168 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
im |
re |
(log.f64 base) |
base |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(log.f64 base) |
base |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
#s(literal 6 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
#s(literal 2 binary64) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
im |
re |
(log.f64 base) |
base |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(log.f64 base) |
base |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 5 binary64)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (atan2.f64 im re)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
#s(literal 6 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
#s(literal 2 binary64) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.4342575195368841 | (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) | |
| accuracy | 0.4507885623921103 | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| accuracy | 0.521816259768442 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 7.859546211531385 | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| accuracy | 0.42408345158010885 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.5301627326452548 | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| accuracy | 0.9532131349487318 | (pow.f64 (log.f64 base) #s(literal 4 binary64)) | |
| accuracy | 1.2350960074505932 | (pow.f64 (log.f64 base) #s(literal 6 binary64)) | |
| accuracy | 0.0 | (log.f64 base) | |
| accuracy | 0.32650375976844204 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| accuracy | 0.42408345158010885 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.521816259768442 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (log.f64 base) | |
| accuracy | 0.30859375 | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| accuracy | 0.3835636438065264 | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| accuracy | 0.521816259768442 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (atan2.f64 im re) | |
| accuracy | 0.0 | (log.f64 base) | |
| accuracy | 0.0 | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) | |
| accuracy | 0.27734375 | (/.f64 (atan2.f64 im re) (log.f64 base)) |
| 123.0ms | 256× | 0 | valid |
Compiled 215 to 33 computations (84.7% saved)
ival-mult: 60.0ms (63.9% of total)ival-div: 8.0ms (8.5% of total)ival-pow: 6.0ms (6.4% of total)ival-log: 5.0ms (5.3% of total)ival-hypot: 4.0ms (4.3% of total)ival-pow2: 4.0ms (4.3% of total)ival-atan2: 2.0ms (2.1% of total)ival-add: 1.0ms (1.1% of total)ival-sub: 1.0ms (1.1% of total)exact: 1.0ms (1.1% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
(log.f64 base) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(/ (atan2 im re) (pow (log base) 2)) |
(* (log base) (atan2 im re)) |
(/ (atan2 im re) (pow (log base) 5)) |
(* (pow (log base) 3) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(log base) |
(pow (log base) 2) |
(pow (log base) 6) |
(pow (log base) 4) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (log (/ 1 base))) |
(/ (atan2 im re) (pow (log (/ 1 base)) 2)) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 2) |
(pow (log (/ 1 base)) 6) |
(pow (log (/ 1 base)) 4) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 37.0ms | base | @ | inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/ (atan2 im re) (log base)) (atan2 im re) (log base) (* (log base) (/ (atan2 im re) (pow (log base) 2))) (/ (atan2 im re) (pow (log base) 2)) (/ (* (log base) (atan2 im re)) (pow (log base) 2)) (* (log base) (atan2 im re)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (pow (* (log base) (atan2 im re)) 2) (pow (log base) 2) (pow (log base) 6) (pow (log base) 4)) |
| 17.0ms | re | @ | -inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/ (atan2 im re) (log base)) (atan2 im re) (log base) (* (log base) (/ (atan2 im re) (pow (log base) 2))) (/ (atan2 im re) (pow (log base) 2)) (/ (* (log base) (atan2 im re)) (pow (log base) 2)) (* (log base) (atan2 im re)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (pow (* (log base) (atan2 im re)) 2) (pow (log base) 2) (pow (log base) 6) (pow (log base) 4)) |
| 12.0ms | base | @ | -inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/ (atan2 im re) (log base)) (atan2 im re) (log base) (* (log base) (/ (atan2 im re) (pow (log base) 2))) (/ (atan2 im re) (pow (log base) 2)) (/ (* (log base) (atan2 im re)) (pow (log base) 2)) (* (log base) (atan2 im re)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (pow (* (log base) (atan2 im re)) 2) (pow (log base) 2) (pow (log base) 6) (pow (log base) 4)) |
| 11.0ms | im | @ | inf | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/ (atan2 im re) (log base)) (atan2 im re) (log base) (* (log base) (/ (atan2 im re) (pow (log base) 2))) (/ (atan2 im re) (pow (log base) 2)) (/ (* (log base) (atan2 im re)) (pow (log base) 2)) (* (log base) (atan2 im re)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (pow (* (log base) (atan2 im re)) 2) (pow (log base) 2) (pow (log base) 6) (pow (log base) 4)) |
| 10.0ms | re | @ | 0 | ((/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/ (atan2 im re) (log base)) (atan2 im re) (log base) (* (log base) (/ (atan2 im re) (pow (log base) 2))) (/ (atan2 im re) (pow (log base) 2)) (/ (* (log base) (atan2 im re)) (pow (log base) 2)) (* (log base) (atan2 im re)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (pow (* (log base) (atan2 im re)) 2) (pow (log base) 2) (pow (log base) 6) (pow (log base) 4)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 247 |
| 1 | 103 | 237 |
| 2 | 240 | 237 |
| 3 | 1008 | 237 |
| 4 | 3555 | 237 |
| 0 | 8676 | 237 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(/ (atan2 im re) (pow (log base) 2)) |
(* (log base) (atan2 im re)) |
(/ (atan2 im re) (pow (log base) 5)) |
(* (pow (log base) 3) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(log base) |
(pow (log base) 2) |
(pow (log base) 6) |
(pow (log base) 4) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (log (/ 1 base))) |
(/ (atan2 im re) (pow (log (/ 1 base)) 2)) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 2) |
(pow (log (/ 1 base)) 6) |
(pow (log (/ 1 base)) 4) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2 im re) |
(atan2.f64 im re) |
(/ (atan2 im re) (pow (log base) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(* (log base) (atan2 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/ (atan2 im re) (pow (log base) 5)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(* (pow (log base) 3) (atan2 im re)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(log base) |
(log.f64 base) |
(pow (log base) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow (log base) 6) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(pow (log base) 4) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(* -1 (log (/ 1 base))) |
(log.f64 base) |
(/ (atan2 im re) (pow (log (/ 1 base)) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (pow.f64 (neg.f64 (log.f64 base)) #s(literal 5 binary64))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow (log (/ 1 base)) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow (log (/ 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 6 binary64)) |
(pow (log (/ 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 4 binary64)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base)))) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(/.f64 (atan2.f64 im re) (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(*.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) (atan2.f64 im re)) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(/.f64 (atan2.f64 im re) (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 5 binary64))) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(*.f64 (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 6 binary64)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 4 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 158 |
| 0 | 52 | 145 |
| 0 | 187 | 145 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
(log.f64 base) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
| Outputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (log.f64 base))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
(log.f64 base) |
(*.f64 (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (log.f64 base)) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (log.f64 base)) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(log.f64 (pow.f64 base (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(/.f64 (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) (neg.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 1 binary64)) (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 1 binary64))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (log.f64 base)) (neg.f64 (log.f64 base))) |
(*.f64 (fabs.f64 (log.f64 base)) (fabs.f64 (log.f64 base))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) |
(/.f64 (+.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (-.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(fma.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64)) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (log.f64 base)) (neg.f64 (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (fabs.f64 (log.f64 base)) (fabs.f64 (log.f64 base)) #s(literal 0 binary64)) |
(fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 6 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64))) |
Compiled 3 348 to 364 computations (89.1% saved)
15 alts after pruning (11 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 156 | 8 | 164 |
| Fresh | 2 | 3 | 5 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 159 | 15 | 174 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| 86.8% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) | |
| ▶ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
| 99.2% | (/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| 86.9% | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ✓ | 99.3% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
| ▶ | 99.2% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
| ▶ | 13.7% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
| ▶ | 44.2% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
| ▶ | 99.3% | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| 99.0% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| 98.7% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| ✓ | 99.2% | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| 99.0% | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| ✓ | 99.6% | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 491 to 339 computations (31% saved)
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 2 | (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) | |
| cost-diff | 2 | (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) | |
| cost-diff | 3 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 0 | (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) | |
| cost-diff | 0 | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 2 | (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) | |
| cost-diff | 5 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 0 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 2 | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| cost-diff | 3 | (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 263 |
| 0 | 57 | 247 |
| 1 | 95 | 238 |
| 2 | 208 | 229 |
| 3 | 726 | 225 |
| 4 | 4123 | 225 |
| 0 | 8578 | 225 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(atan2.f64 im re) |
im |
re |
(/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(log.f64 base) |
base |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(log.f64 (pow.f64 base (log.f64 base))) |
(pow.f64 base (log.f64 base)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)) |
(log.f64 (log.f64 base)) |
#s(literal 2 binary64) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
#s(literal 2 binary64) |
#s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
#s(literal 0 binary64) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
| Outputs |
|---|
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2.f64 im re) |
im |
re |
(/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal -1 binary64)) |
(log.f64 base) |
base |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
(*.f64 (/.f64 (log.f64 base) (log.f64 (pow.f64 base (log.f64 base)))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(log.f64 (pow.f64 base (log.f64 base))) |
(pow.f64 base (log.f64 base)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)) |
(log.f64 (log.f64 base)) |
#s(literal 2 binary64) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
#s(literal 2 binary64) |
#s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
#s(literal 0 binary64) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.20169848066473325 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.21484375 | (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) | |
| accuracy | 0.23046875 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 0.4214403321270288 | (pow.f64 (log.f64 base) #s(literal 4 binary64)) | |
| accuracy | 0.20169848066473325 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.23771470570553094 | (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) | |
| accuracy | 0.3424988281475362 | (pow.f64 (log.f64 base) #s(literal 3 binary64)) | |
| accuracy | 3.6222117136512146 | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) | |
| accuracy | 0.0234375 | (log.f64 (log.f64 base)) | |
| accuracy | 0.15234375 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) | |
| accuracy | 0.20169848066473325 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.7707916548684018 | (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) | |
| accuracy | 0.10565663937054802 | (pow.f64 base (log.f64 base)) | |
| accuracy | 0.15234375 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) | |
| accuracy | 0.20169848066473325 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 26.872779001207096 | (log.f64 (pow.f64 base (log.f64 base))) | |
| accuracy | 0.0 | (log.f64 base) | |
| accuracy | 0.1171875 | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| accuracy | 0.1484375 | (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| accuracy | 0.23046875 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) |
| 56.0ms | 116× | 0 | valid |
| 55.0ms | 140× | 0 | invalid |
Compiled 247 to 32 computations (87% saved)
ival-exp: 25.0ms (32.2% of total)ival-pow: 15.0ms (19.3% of total)ival-log: 11.0ms (14.2% of total)ival-mult: 9.0ms (11.6% of total)ival-div: 8.0ms (10.3% of total)ival-pow2: 5.0ms (6.4% of total)ival-sub: 2.0ms (2.6% of total)ival-atan2: 2.0ms (2.6% of total)exact: 1.0ms (1.3% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(atan2.f64 im re) |
(log.f64 base) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 (pow.f64 base (log.f64 base))) |
(pow.f64 base (log.f64 base)) |
(log.f64 (log.f64 base)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(* (log base) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(* (pow (log base) 3) (atan2 im re)) |
(/ 1 (log base)) |
(log base) |
(pow (log base) 2) |
(pow (log base) 4) |
(exp (pow (log base) 2)) |
(log (log base)) |
(pow (log base) 3) |
(/ -1 (log (/ 1 base))) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (log (/ 1 base))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(pow (log (/ 1 base)) 2) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 4) |
(exp (pow (log (/ 1 base)) 2)) |
(log (* -1 (log (/ 1 base)))) |
(* -1 (pow (log (/ 1 base)) 3)) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(exp (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(log (+ (log -1) (* -1 (log (/ -1 base))))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 81.0ms | base | @ | -inf | ((/ (log base) (pow (log base) 2)) (* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (log base) (/ (* (log base) (atan2 im re)) (log (pow base (log base)))) (* (log base) (atan2 im re)) (/ (* (log base) (atan2 im re)) (exp (* (log (log base)) 2))) (exp (* (log (log base)) 2)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (pow (* (log base) (atan2 im re)) 2) (/ (* (log base) (atan2 im re)) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) (- (pow (log base) 4) 0) (- (pow (log base) 2) 0) (pow (log base) 2) (log (pow base (log base))) (pow base (log base)) (log (log base)) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re)) (pow (log base) 4) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) |
| 71.0ms | base | @ | 0 | ((/ (log base) (pow (log base) 2)) (* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (log base) (/ (* (log base) (atan2 im re)) (log (pow base (log base)))) (* (log base) (atan2 im re)) (/ (* (log base) (atan2 im re)) (exp (* (log (log base)) 2))) (exp (* (log (log base)) 2)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (pow (* (log base) (atan2 im re)) 2) (/ (* (log base) (atan2 im re)) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) (- (pow (log base) 4) 0) (- (pow (log base) 2) 0) (pow (log base) 2) (log (pow base (log base))) (pow base (log base)) (log (log base)) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re)) (pow (log base) 4) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) |
| 57.0ms | base | @ | inf | ((/ (log base) (pow (log base) 2)) (* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (log base) (/ (* (log base) (atan2 im re)) (log (pow base (log base)))) (* (log base) (atan2 im re)) (/ (* (log base) (atan2 im re)) (exp (* (log (log base)) 2))) (exp (* (log (log base)) 2)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (pow (* (log base) (atan2 im re)) 2) (/ (* (log base) (atan2 im re)) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) (- (pow (log base) 4) 0) (- (pow (log base) 2) 0) (pow (log base) 2) (log (pow base (log base))) (pow base (log base)) (log (log base)) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re)) (pow (log base) 4) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) |
| 53.0ms | re | @ | 0 | ((/ (log base) (pow (log base) 2)) (* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (log base) (/ (* (log base) (atan2 im re)) (log (pow base (log base)))) (* (log base) (atan2 im re)) (/ (* (log base) (atan2 im re)) (exp (* (log (log base)) 2))) (exp (* (log (log base)) 2)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (pow (* (log base) (atan2 im re)) 2) (/ (* (log base) (atan2 im re)) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) (- (pow (log base) 4) 0) (- (pow (log base) 2) 0) (pow (log base) 2) (log (pow base (log base))) (pow base (log base)) (log (log base)) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re)) (pow (log base) 4) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) |
| 39.0ms | im | @ | inf | ((/ (log base) (pow (log base) 2)) (* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (log base) (/ (* (log base) (atan2 im re)) (log (pow base (log base)))) (* (log base) (atan2 im re)) (/ (* (log base) (atan2 im re)) (exp (* (log (log base)) 2))) (exp (* (log (log base)) 2)) (/ (pow (* (log base) (atan2 im re)) 2) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (pow (* (log base) (atan2 im re)) 2) (/ (* (log base) (atan2 im re)) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) (- (pow (log base) 4) 0) (- (pow (log base) 2) 0) (pow (log base) 2) (log (pow base (log base))) (pow base (log base)) (log (log base)) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re)) (pow (log base) 4) (/ (- (pow (log base) 4) 0) (- (pow (log base) 2) 0))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 53 | 172 |
| 1 | 105 | 169 |
| 2 | 276 | 169 |
| 3 | 1143 | 169 |
| 4 | 4221 | 169 |
| 0 | 8624 | 169 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(* (log base) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(* (pow (log base) 3) (atan2 im re)) |
(/ 1 (log base)) |
(log base) |
(pow (log base) 2) |
(pow (log base) 4) |
(exp (pow (log base) 2)) |
(log (log base)) |
(pow (log base) 3) |
(/ -1 (log (/ 1 base))) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(* -1 (log (/ 1 base))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(pow (log (/ 1 base)) 2) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 4) |
(exp (pow (log (/ 1 base)) 2)) |
(log (* -1 (log (/ 1 base)))) |
(* -1 (pow (log (/ 1 base)) 3)) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(exp (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(log (+ (log -1) (* -1 (log (/ -1 base))))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2 im re) |
(atan2.f64 im re) |
(* (log base) (atan2 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(* (pow (log base) 3) (atan2 im re)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(/ 1 (log base)) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(log base) |
(log.f64 base) |
(pow (log base) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(pow (log base) 4) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(exp (pow (log base) 2)) |
(pow.f64 base (log.f64 base)) |
(log (log base)) |
(log.f64 (log.f64 base)) |
(pow (log base) 3) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(/ -1 (log (/ 1 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(* -1 (log (/ 1 base))) |
(log.f64 base) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(pow (log (/ 1 base)) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow (log (/ 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 4 binary64)) |
(exp (pow (log (/ 1 base)) 2)) |
(pow.f64 base (log.f64 base)) |
(log (* -1 (log (/ 1 base)))) |
(log.f64 (log.f64 base)) |
(* -1 (pow (log (/ 1 base)) 3)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(log.f64 base) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(exp (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2)) |
(pow.f64 base (log.f64 base)) |
(log (+ (log -1) (* -1 (log (/ -1 base))))) |
(log.f64 (log.f64 base)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 174 |
| 0 | 57 | 156 |
| 0 | 157 | 156 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(atan2.f64 im re) |
(log.f64 base) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 (pow.f64 base (log.f64 base))) |
(pow.f64 base (log.f64 base)) |
(log.f64 (log.f64 base)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))) |
| Outputs |
|---|
(/.f64 (neg.f64 (log.f64 base)) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (*.f64 (atan2.f64 im re) (log.f64 base))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(atan2.f64 im re) |
(log.f64 base) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (*.f64 (atan2.f64 im re) (log.f64 base))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (*.f64 (atan2.f64 im re) (log.f64 base))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (exp.f64 (log.f64 (log.f64 base))) (exp.f64 (log.f64 (log.f64 base)))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (exp.f64 (log.f64 (log.f64 base))) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 2 binary64))) (neg.f64 #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))))) |
(/.f64 (pow.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (pow.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 1 binary64)) (pow.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 1 binary64))) |
(*.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (atan2.f64 im re) (log.f64 base))) #s(literal 2 binary64))) |
(*.f64 (/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (*.f64 (atan2.f64 im re) (log.f64 base))) (neg.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) |
(/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(/.f64 (-.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64))))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (exp.f64 (log.f64 (log.f64 base))) (exp.f64 (log.f64 (log.f64 base)))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (exp.f64 (log.f64 (log.f64 base))) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (exp.f64 (log.f64 (log.f64 base))) (exp.f64 (log.f64 (log.f64 base)))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (exp.f64 (log.f64 (log.f64 base))) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (exp.f64 (log.f64 (log.f64 base))) (exp.f64 (log.f64 (log.f64 base)))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (exp.f64 (log.f64 (log.f64 base))) #s(literal 2 binary64)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (fma.f64 (log.f64 base) (log.f64 base) #s(literal 0 binary64))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(log.f64 (pow.f64 base (log.f64 base))) |
(*.f64 (pow.f64 base (/.f64 (log.f64 base) #s(literal 2 binary64))) (pow.f64 base (/.f64 (log.f64 base) #s(literal 2 binary64)))) |
(pow.f64 base (log.f64 base)) |
(exp.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(log.f64 (log.f64 base)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3/2 binary64)) (pow.f64 (log.f64 base) #s(literal 3/2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (log.f64 base)) |
(*.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 3 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(/.f64 (-.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) #s(literal 0 binary64)) (+.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64))))) |
(-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64))) |
(/.f64 (neg.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
Compiled 2 192 to 254 computations (88.4% saved)
17 alts after pruning (9 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 101 | 4 | 105 |
| Fresh | 1 | 5 | 6 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 4 | 4 |
| Total | 103 | 17 | 120 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| 86.8% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) | |
| ✓ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
| ▶ | 99.2% | (/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
| 86.9% | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ▶ | 86.9% | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
| 99.2% | (/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ✓ | 99.3% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
| ✓ | 13.7% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
| ✓ | 44.2% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
| ✓ | 99.3% | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| ▶ | 99.3% | (*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
| 99.0% | (*.f64 (/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| ▶ | 98.7% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
| ✓ | 99.2% | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| ▶ | 99.0% | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
| ✓ | 99.6% | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 512 to 351 computations (31.4% saved)
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 3 | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) | |
| cost-diff | 5 | (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) | |
| cost-diff | 7 | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| cost-diff | 0 | (log.f64 base) | |
| cost-diff | 0 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| cost-diff | 0 | (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) | |
| cost-diff | 0 | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) | |
| cost-diff | 0 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| cost-diff | 2 | (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) | |
| cost-diff | 3 | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| cost-diff | 7 | (/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) | |
| cost-diff | 0 | #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) | |
| cost-diff | 0 | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) (log.f64 base)) | |
| cost-diff | 0 | #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) | |
| cost-diff | 0 | (atan2.f64 im re) | |
| cost-diff | 0 | (*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 341 |
| 0 | 67 | 322 |
| 1 | 104 | 301 |
| 2 | 264 | 293 |
| 3 | 1291 | 275 |
| 4 | 5268 | 275 |
| 0 | 8699 | 275 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
(atan2.f64 im re) |
im |
re |
#s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
#s(literal 1 binary64) |
(log.f64 base) |
base |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
#s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(log.f64 base) |
base |
#s(literal 5 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 base) |
base |
#s(literal 2 binary64) |
(pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) |
(atan2.f64 im re) |
im |
re |
#s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
| Outputs |
|---|
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
(*.f64 #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) (atan2.f64 im re)) |
(atan2.f64 im re) |
im |
re |
#s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
#s(literal 1 binary64) |
(log.f64 base) |
base |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))))) |
#s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(log.f64 base) |
base |
#s(literal 5 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 0 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 base) |
base |
#s(literal 2 binary64) |
(pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) |
(atan2.f64 im re) |
im |
re |
#s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(log.f64 base) |
base |
(atan2.f64 im re) |
im |
re |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
#s(literal 3 binary64) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
#s(literal 4 binary64) |
Found 20 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.5270500488422101 | (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) | |
| accuracy | 0.5301627326452548 | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| accuracy | 0.7420465332848188 | (pow.f64 (log.f64 base) #s(literal 3 binary64)) | |
| accuracy | 0.9532131349487318 | (pow.f64 (log.f64 base) #s(literal 4 binary64)) | |
| accuracy | 0.521816259768442 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 0.5458407075924239 | (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) | |
| accuracy | 0.7420465332848188 | (pow.f64 (log.f64 base) #s(literal 3 binary64)) | |
| accuracy | 7.859546211531385 | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) | |
| accuracy | 0.42408345158010885 | (*.f64 (log.f64 base) (atan2.f64 im re)) | |
| accuracy | 0.4507885623921103 | (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) | |
| accuracy | 0.521816259768442 | (pow.f64 (log.f64 base) #s(literal 2 binary64)) | |
| accuracy | 0.9532131349487318 | (pow.f64 (log.f64 base) #s(literal 4 binary64)) | |
| accuracy | 0.265625 | (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) | |
| accuracy | 0.5301627326452548 | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| accuracy | 0.9532131349487318 | (pow.f64 (log.f64 base) #s(literal 4 binary64)) | |
| accuracy | 1.0935835442090338 | (pow.f64 (log.f64 base) #s(literal 5 binary64)) | |
| accuracy | 0.0 | (log.f64 base) | |
| accuracy | 0.0 | #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) | |
| accuracy | 0.26953125 | (*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) | |
| accuracy | 0.296875 | (/.f64 #s(literal 1 binary64) (log.f64 base)) |
| 130.0ms | 256× | 0 | valid |
Compiled 297 to 36 computations (87.9% saved)
ival-pow: 72.0ms (67.3% of total)ival-mult: 12.0ms (11.2% of total)ival-div: 10.0ms (9.3% of total)ival-pow2: 6.0ms (5.6% of total)ival-log: 3.0ms (2.8% of total)ival-atan2: 2.0ms (1.9% of total)ival-sub: 1.0ms (0.9% of total)exact: 1.0ms (0.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
(atan2.f64 im re) |
#s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
#s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 base) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(/ (atan2 im re) (pow (log base) 5)) |
(* (pow (log base) 3) (atan2 im re)) |
(* (log base) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(/ 1 (log base)) |
(pow (log base) 2) |
(log base) |
(pow (log base) 6) |
(pow (log base) 5) |
(pow (log base) 4) |
(pow (log base) 3) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/ -1 (log (/ 1 base))) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 2) |
(* -1 (log (/ 1 base))) |
(pow (log (/ 1 base)) 6) |
(* -1 (pow (log (/ 1 base)) 5)) |
(pow (log (/ 1 base)) 4) |
(* -1 (pow (log (/ 1 base)) 3)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 5) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 20.0ms | base | @ | 0 | ((* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (/ (log base) (pow (log base) 2)) (/ 1 (log base)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (atan2 im re) (pow (log base) 5)) (/ (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (pow (log base) 4)) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (* (log base) (atan2 im re)) (/ (* (pow (log base) 2) (pow (atan2 im re) 2)) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (pow (log base) 2) (pow (atan2 im re) 2)) (pow (log base) 2) (log base) (* (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 4)) (* (pow (log base) 3) (pow (log base) 3)) (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 5) (pow (log base) 4) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re))) |
| 19.0ms | im | @ | inf | ((* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (/ (log base) (pow (log base) 2)) (/ 1 (log base)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (atan2 im re) (pow (log base) 5)) (/ (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (pow (log base) 4)) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (* (log base) (atan2 im re)) (/ (* (pow (log base) 2) (pow (atan2 im re) 2)) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (pow (log base) 2) (pow (atan2 im re) 2)) (pow (log base) 2) (log base) (* (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 4)) (* (pow (log base) 3) (pow (log base) 3)) (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 5) (pow (log base) 4) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re))) |
| 17.0ms | base | @ | -inf | ((* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (/ (log base) (pow (log base) 2)) (/ 1 (log base)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (atan2 im re) (pow (log base) 5)) (/ (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (pow (log base) 4)) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (* (log base) (atan2 im re)) (/ (* (pow (log base) 2) (pow (atan2 im re) 2)) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (pow (log base) 2) (pow (atan2 im re) 2)) (pow (log base) 2) (log base) (* (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 4)) (* (pow (log base) 3) (pow (log base) 3)) (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 5) (pow (log base) 4) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re))) |
| 11.0ms | re | @ | inf | ((* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (/ (log base) (pow (log base) 2)) (/ 1 (log base)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (atan2 im re) (pow (log base) 5)) (/ (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (pow (log base) 4)) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (* (log base) (atan2 im re)) (/ (* (pow (log base) 2) (pow (atan2 im re) 2)) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (pow (log base) 2) (pow (atan2 im re) 2)) (pow (log base) 2) (log base) (* (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 4)) (* (pow (log base) 3) (pow (log base) 3)) (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 5) (pow (log base) 4) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re))) |
| 11.0ms | im | @ | 0 | ((* (atan2 im re) (/ (log base) (pow (log base) 2))) (atan2 im re) (/ (log base) (pow (log base) 2)) (/ 1 (log base)) (* (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (pow (log base) 4)) (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/ (atan2 im re) (pow (log base) 5)) (/ (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (pow (log base) 4)) (* (* (log base) (atan2 im re)) (pow (log base) 2)) (- (* (* (log base) (atan2 im re)) (pow (log base) 2)) 0) (* (log base) (atan2 im re)) (/ (* (pow (log base) 2) (pow (atan2 im re) 2)) (* (* (log base) (atan2 im re)) (pow (log base) 2))) (* (pow (log base) 2) (pow (atan2 im re) 2)) (pow (log base) 2) (log base) (* (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 4)) (* (pow (log base) 3) (pow (log base) 3)) (/ (* (log base) (atan2 im re)) (* (pow (log base) 3) (pow (log base) 3))) (pow (log base) 5) (pow (log base) 4) (pow (log base) 3) (* (pow (log base) 3) (atan2 im re))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 273 |
| 1 | 108 | 261 |
| 2 | 250 | 261 |
| 3 | 990 | 261 |
| 4 | 3517 | 261 |
| 0 | 8114 | 261 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/ (atan2 im re) (log base)) |
(atan2 im re) |
(/ (atan2 im re) (pow (log base) 5)) |
(* (pow (log base) 3) (atan2 im re)) |
(* (log base) (atan2 im re)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(/ 1 (log base)) |
(pow (log base) 2) |
(log base) |
(pow (log base) 6) |
(pow (log base) 5) |
(pow (log base) 4) |
(pow (log base) 3) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/ -1 (log (/ 1 base))) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(pow (log (/ 1 base)) 2) |
(* -1 (log (/ 1 base))) |
(pow (log (/ 1 base)) 6) |
(* -1 (pow (log (/ 1 base)) 5)) |
(pow (log (/ 1 base)) 4) |
(* -1 (pow (log (/ 1 base)) 3)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 5) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
| Outputs |
|---|
(/ (atan2 im re) (log base)) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(atan2 im re) |
(atan2.f64 im re) |
(/ (atan2 im re) (pow (log base) 5)) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(* (pow (log base) 3) (atan2 im re)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* (log base) (atan2 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(* (pow (log base) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/ 1 (log base)) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(pow (log base) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log base) |
(log.f64 base) |
(pow (log base) 6) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(pow (log base) 5) |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(pow (log base) 4) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(pow (log base) 3) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(* -1 (/ (atan2 im re) (log (/ 1 base)))) |
(/.f64 (atan2.f64 im re) (log.f64 base)) |
(/ -1 (log (/ 1 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(* -1 (/ (atan2 im re) (pow (log (/ 1 base)) 5))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (pow.f64 (neg.f64 (log.f64 base)) #s(literal 5 binary64))) |
(* -1 (* (pow (log (/ 1 base)) 3) (atan2 im re))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* -1 (* (log (/ 1 base)) (atan2 im re))) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(* (pow (log (/ 1 base)) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow (log (/ 1 base)) 2) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(* -1 (log (/ 1 base))) |
(log.f64 base) |
(pow (log (/ 1 base)) 6) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 6 binary64)) |
(* -1 (pow (log (/ 1 base)) 5)) |
(neg.f64 (pow.f64 (neg.f64 (log.f64 base)) #s(literal 5 binary64))) |
(pow (log (/ 1 base)) 4) |
(pow.f64 (neg.f64 (log.f64 base)) #s(literal 4 binary64)) |
(* -1 (pow (log (/ 1 base)) 3)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(/ (atan2 im re) (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 (atan2.f64 im re) (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base)))) |
(/ 1 (+ (log -1) (* -1 (log (/ -1 base))))) |
(/.f64 #s(literal -1 binary64) (-.f64 (log.f64 (/.f64 #s(literal -1 binary64) base)) (log.f64 #s(literal -1 binary64)))) |
(/ (atan2 im re) (pow (+ (log -1) (* -1 (log (/ -1 base)))) 5)) |
(/.f64 (atan2.f64 im re) (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 5 binary64))) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) (atan2 im re)) |
(*.f64 (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 3 binary64)) (atan2.f64 im re)) |
(* (+ (log -1) (* -1 (log (/ -1 base)))) (atan2 im re)) |
(*.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) (atan2.f64 im re)) |
(* (pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) (pow (atan2 im re) 2)) |
(*.f64 (pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 2) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 2 binary64)) |
(+ (log -1) (* -1 (log (/ -1 base)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 6) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 6 binary64)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 5) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 5 binary64)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 4) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 4 binary64)) |
(pow (+ (log -1) (* -1 (log (/ -1 base)))) 3) |
(pow.f64 (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) base))) #s(literal 3 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 249 |
| 0 | 67 | 226 |
| 0 | 172 | 226 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
(atan2.f64 im re) |
#s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
#s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(log.f64 base) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
| Outputs |
|---|
(*.f64 #s(approx (/ (log base) (pow (log base) 2)) (pow.f64 (log.f64 base) #s(literal -1 binary64))) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (pow.f64 (log.f64 base) #s(literal -1 binary64)))) |
(atan2.f64 im re) |
#s(approx (/ (log base) (pow (log base) 2)) (pow.f64 (log.f64 base) #s(literal -1 binary64))) |
(pow.f64 (log.f64 base) #s(literal -1 binary64)) |
(/.f64 #s(literal -1 binary64) (neg.f64 (log.f64 base))) |
(/.f64 #s(literal 1 binary64) (log.f64 base)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))))) |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
#s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (neg.f64 (atan2.f64 im re)) (neg.f64 (pow.f64 (log.f64 base) #s(literal 5 binary64)))) |
(/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64))) |
(/.f64 (neg.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re)))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(-.f64 (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (/.f64 #s(literal 0 binary64) (pow.f64 (log.f64 base) #s(literal 4 binary64)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re)))) #s(literal 0 binary64)) (fma.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (+.f64 #s(literal 0 binary64) (*.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 0 binary64))))) |
(-.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 0 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) |
(*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (-.f64 (*.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re)))) #s(literal 0 binary64)) (fma.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (+.f64 #s(literal 0 binary64) (*.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 0 binary64))))) |
(-.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) #s(literal 0 binary64)) |
(*.f64 (log.f64 base) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (log.f64 base)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (/.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64))) (neg.f64 #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(*.f64 (pow.f64 (atan2.f64 im re) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 1 binary64)) (pow.f64 (log.f64 base) #s(literal 1 binary64))) |
(*.f64 (log.f64 base) (log.f64 base)) |
(pow.f64 (log.f64 base) #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64))) |
(log.f64 base) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(/.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(*.f64 (neg.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64))) (fabs.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(pow.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) #s(literal 2 binary64)) |
(pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64)) |
(pow.f64 (log.f64 base) #s(literal 6 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 6 binary64))) |
(*.f64 (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 3 binary64))) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(/.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 3 binary64))) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
(/.f64 (neg.f64 (*.f64 (log.f64 base) (atan2.f64 im re))) (neg.f64 (pow.f64 (log.f64 base) #s(literal 6 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 5/2 binary64)) (pow.f64 (log.f64 base) #s(literal 5/2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 5 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 5 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 4 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3/2 binary64)) (pow.f64 (log.f64 base) #s(literal 3/2 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (log.f64 base)) |
(*.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(pow.f64 (log.f64 base) #s(literal 3 binary64)) |
(exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 3 binary64))) |
(*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)) |
(*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 3 binary64))) |
Compiled 4 363 to 439 computations (89.9% saved)
17 alts after pruning (8 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 163 | 6 | 169 |
| Fresh | 2 | 2 | 4 |
| Picked | 3 | 2 | 5 |
| Done | 1 | 7 | 8 |
| Total | 169 | 17 | 186 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 86.9% | (/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
| 99.2% | (/.f64 (-.f64 (*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| 99.2% | (/.f64 (-.f64 #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| 86.9% | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| 99.2% | (/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| 99.2% | (/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) | |
| ✓ | 99.3% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
| ✓ | 13.7% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
| ✓ | 44.2% | (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
| ✓ | 99.3% | (*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| ✓ | 99.3% | (*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
| 98.7% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) #s(literal 2 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| 98.5% | (*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) | |
| ✓ | 99.2% | (*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| ✓ | 99.0% | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
| 43.7% | (*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64)))) | |
| ✓ | 99.6% | #s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Compiled 910 to 360 computations (60.4% saved)
Total -62.8b remaining (-22651.9%)
Threshold costs -62.8b (-22651.9%)
| Inputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
(*.f64 (atan2.f64 im re) #s(approx (/ (log base) (pow (log base) 2)) (/.f64 #s(literal 1 binary64) (log.f64 base)))) |
(*.f64 (log.f64 base) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(*.f64 (atan2.f64 im re) (/.f64 (log.f64 base) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (log.f64 (pow.f64 base (log.f64 base)))) |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 2 binary64)))) |
(/.f64 (-.f64 #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(*.f64 #s(approx (/ (* (log base) (atan2 im re)) (pow (log base) 6)) (/.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 5 binary64)))) (exp.f64 (*.f64 (log.f64 (log.f64 base)) #s(literal 4 binary64)))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 6 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) (pow.f64 (log.f64 base) #s(literal 2 binary64))) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (*.f64 (log.f64 base) (atan2.f64 im re))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(/.f64 (-.f64 (*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) #s(literal 0 binary64)) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (/.f64 (-.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) #s(literal 0 binary64)) (-.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) #s(literal 3 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) #s(literal 2 binary64))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) #s(approx (* (* (log base) (atan2 im re)) (pow (log base) 2)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (atan2.f64 im re)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (log.f64 base) (*.f64 (atan2.f64 im re) (pow.f64 (log.f64 base) #s(literal 2 binary64))))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (/.f64 (pow.f64 (log.f64 base) #s(literal 4 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64))) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
(*.f64 (/.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (*.f64 (pow.f64 (log.f64 base) #s(literal 3 binary64)) (pow.f64 (log.f64 base) #s(literal 3 binary64)))) (pow.f64 (log.f64 base) #s(literal 4 binary64))) |
(/.f64 (*.f64 (pow.f64 (log.f64 base) #s(literal 2 binary64)) (pow.f64 (atan2.f64 im re) #s(literal 2 binary64))) (*.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
(/.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 3 binary64)) (*.f64 (pow.f64 (*.f64 (log.f64 base) (atan2.f64 im re)) #s(literal 2 binary64)) (pow.f64 (log.f64 base) #s(literal 2 binary64)))) |
| Outputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
5 calls:
| 17.0ms | base |
| 8.0ms | re |
| 7.0ms | im |
| 7.0ms | (log.f64 base) |
| 7.0ms | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | (log.f64 base) |
| 99.6% | 1 | (/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) #s(literal 0 binary64))) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 #s(literal 0 binary64) #s(literal 0 binary64)))) |
| 99.6% | 1 | re |
| 99.6% | 1 | im |
| 99.6% | 1 | base |
Compiled 33 to 31 computations (6.1% saved)
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 21 |
| 1 | 58 | 19 |
| 2 | 229 | 15 |
| 3 | 1797 | 13 |
| 4 | 6321 | 13 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
| Outputs |
|---|
#s(approx (/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0)) (+ (* (log base) (log base)) (* 0 0))) (/.f64 (atan2.f64 im re) (log.f64 base))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 121 | 469 |
| 1 | 343 | 466 |
| 2 | 1369 | 460 |
| 3 | 6811 | 460 |
| 0 | 8171 | 426 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
Compiled 35 to 22 computations (37.1% saved)
Compiled 126 to 80 computations (36.5% saved)
Loading profile data...