
Time bar (total: 5.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 4 to 4 computations (0% saved)
| 352.0ms | 8 256× | 0 | valid |
ival-asinh: 94.0ms (89.8% of total)ival-true: 6.0ms (5.7% of total)ival-assert: 3.0ms (2.9% of total)adjust: 2.0ms (1.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 126 | 0 | - | 1 | (-0.012680790026279885) | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 67 | 0 | - | 0 | - | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (fabs.f64 x) |
| 0 | 0 | - | 0 | - | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
log.f64 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) | sensitivity | 125 | 2 |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) | oflow-rescue | 67 | 0 |
| ↳ | (*.f64 x x) | overflow | 67 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 67 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 192 | 1 |
| - | 0 | 63 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 192 | 1 | 0 |
| - | 0 | 1 | 62 |
| number | freq |
|---|---|
| 0 | 64 |
| 1 | 192 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 794.0ms | 170× | 1 | valid |
| 39.0ms | 76× | 2 | valid |
| 30.0ms | 266× | 0 | valid |
Compiled 114 to 31 computations (72.8% saved)
ival-copysign: 62.0ms (40.9% of total)ival-log: 46.0ms (30.4% of total)ival-hypot: 19.0ms (12.5% of total)adjust: 10.0ms (6.6% of total)ival-add: 7.0ms (4.6% of total)ival-mult: 4.0ms (2.6% of total)ival-fabs: 3.0ms (2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 9 | 12 |
| 0 | 16 | 12 |
| 1 | 24 | 12 |
| 2 | 45 | 12 |
| 3 | 85 | 12 |
| 4 | 144 | 12 |
| 5 | 351 | 12 |
| 6 | 2401 | 12 |
| 7 | 5914 | 12 |
| 0 | 8153 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Outputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
Compiled 12 to 9 computations (25% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 29.5% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) | |
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) | |
| cost-diff | 1 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 49 |
| 0 | 16 | 49 |
| 1 | 24 | 49 |
| 2 | 45 | 49 |
| 3 | 85 | 49 |
| 4 | 144 | 49 |
| 5 | 351 | 49 |
| 6 | 2401 | 49 |
| 7 | 5914 | 49 |
| 0 | 8153 | 44 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(fabs.f64 x) |
x |
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x)) |
(fabs.f64 x) |
x |
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.0078125 | (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) | |
| accuracy | 15.58455077323471 | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) | |
| accuracy | 28.914537116073603 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 62.0ms | 85× | 1 | valid |
| 39.0ms | 38× | 2 | valid |
| 34.0ms | 133× | 0 | valid |
Compiled 51 to 11 computations (78.4% saved)
ival-add: 45.0ms (36% of total)ival-hypot: 29.0ms (23.2% of total)ival-mult: 24.0ms (19.2% of total)ival-log: 17.0ms (13.6% of total)adjust: 5.0ms (4% of total)ival-copysign: 4.0ms (3.2% of total)ival-fabs: 2.0ms (1.6% 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 x x) #s(literal 1 binary64)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fabs.f64 x) |
| Outputs |
|---|
1 |
(+ 1 (pow x 2)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fabs x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x)) |
| 1.0ms | x | @ | inf | ((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x)) |
| 1.0ms | x | @ | -inf | ((+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (fabs x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 169 | 586 |
| 1 | 568 | 548 |
| 2 | 2395 | 527 |
| 0 | 8393 | 487 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (pow x 2)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fabs x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(fabs x) |
(fabs.f64 x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (/.f64 (fabs.f64 x) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 44 |
| 0 | 16 | 32 |
| 1 | 56 | 24 |
| 0 | 406 | 23 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fabs.f64 x) |
| Outputs |
|---|
(*.f64 (neg.f64 (cosh.f64 (asinh.f64 x))) (neg.f64 (cosh.f64 (asinh.f64 x)))) |
(*.f64 (fabs.f64 (cosh.f64 (asinh.f64 x))) (fabs.f64 (cosh.f64 (asinh.f64 x)))) |
(*.f64 (cosh.f64 (asinh.f64 x)) (cosh.f64 (asinh.f64 x))) |
(pow.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64))) #s(literal 1/2 binary64)) |
(pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64)))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(+.f64 #s(literal 1 binary64) (*.f64 x x)) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x))) |
(/.f64 (-.f64 (fma.f64 x x #s(literal 1 binary64)) (*.f64 x x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (neg.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64))) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 (*.f64 x x) (*.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))) |
(fma.f64 (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (fabs.f64 x)) |
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (cosh.f64 (asinh.f64 x))) |
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) (cosh.f64 (asinh.f64 x))) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cosh.f64 (asinh.f64 x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x)))) (/.f64 (fma.f64 x x #s(literal 1 binary64)) (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))))) |
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x))) (/.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) |
(+.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))) |
(*.f64 (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (+.f64 (exp.f64 (asinh.f64 x)) (exp.f64 (neg.f64 (asinh.f64 x)))) #s(literal 2 binary64)) |
(cosh.f64 (neg.f64 (asinh.f64 x))) |
(cosh.f64 (asinh.f64 (neg.f64 x))) |
(cosh.f64 (asinh.f64 x)) |
(cosh.f64 (asinh.f64 (fabs.f64 x))) |
(sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) |
(exp.f64 (*.f64 (log1p.f64 (*.f64 x x)) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) |
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 (neg.f64 (neg.f64 x))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 (fabs.f64 x)) |
(fabs.f64 x) |
Compiled 2 162 to 611 computations (71.7% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 107 | 5 | 112 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 108 | 5 | 113 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 27.1% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
| ▶ | 25.3% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
| ▶ | 29.9% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
| ▶ | 99.8% | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
| ▶ | 8.6% | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Compiled 154 to 108 computations (29.9% saved)
| 1× | egg-herbie |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) | |
| cost-diff | 0 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) | |
| cost-diff | 0 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) | |
| cost-diff | 0 | (fabs.f64 x) | |
| cost-diff | 0 | (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) | |
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) | |
| cost-diff | 0 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) | |
| cost-diff | 0 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) | |
| cost-diff | 3 | (fma.f64 (/.f64 (fabs.f64 x) x) x x) | |
| cost-diff | 0 | (log.f64 x) | |
| cost-diff | 0 | #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) | |
| cost-diff | 0 | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) | |
| cost-diff | 0 | (fabs.f64 x) | |
| cost-diff | 0 | (asinh.f64 (fabs.f64 x)) | |
| cost-diff | 0 | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 259 |
| 0 | 49 | 259 |
| 1 | 65 | 259 |
| 2 | 97 | 255 |
| 3 | 164 | 247 |
| 4 | 366 | 247 |
| 5 | 2172 | 247 |
| 0 | 8375 | 234 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
x |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(/.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(fabs.f64 x) |
x |
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) |
(/.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
x |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (+.f64 (fabs.f64 x) x)) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(+.f64 (fabs.f64 x) x) |
(/.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)) |
(fabs.f64 x) |
x |
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) |
(/.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
#s(literal 1 binary64) |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 14.024165837275875 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) | |
| accuracy | 29.430771869006488 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 6.501420745556758 | (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) | |
| accuracy | 14.024165837275875 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) | |
| accuracy | 15.235027758119559 | #s(approx (+ (* x x) 1) (*.f64 x x)) | |
| accuracy | 0.0 | (/.f64 (fabs.f64 x) x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 14.024165837275875 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) | |
| accuracy | 15.025254506071574 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) | |
| accuracy | 0.0 | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) | |
| accuracy | 0.0 | (log.f64 x) | |
| accuracy | 25.348710225834484 | #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) | |
| accuracy | 0.0 | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.05078125 | (asinh.f64 (fabs.f64 x)) |
| 50.0ms | 135× | 0 | invalid |
| 23.0ms | 18× | 2 | valid |
| 14.0ms | 42× | 1 | valid |
| 10.0ms | 61× | 0 | valid |
Compiled 185 to 19 computations (89.7% saved)
ival-log: 23.0ms (43.6% of total)ival-hypot: 7.0ms (13.3% of total)ival-copysign: 4.0ms (7.6% of total)ival-add: 4.0ms (7.6% of total)ival-mult: 4.0ms (7.6% of total)adjust: 3.0ms (5.7% of total)ival-div: 2.0ms (3.8% of total)ival-asinh: 2.0ms (3.8% of total)ival-fabs: 2.0ms (3.8% of total)ival-sub: 1.0ms (1.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(/.f64 (fabs.f64 x) x) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(fabs x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(log x) |
(+ x (fabs x)) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ (fabs x) (* -1 x)) |
(/ (fabs x) x) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* -1 x) |
(* x (- (/ (fabs x) x) 1)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 116.0ms | x | @ | 0 | ((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1))) |
| 57.0ms | x | @ | -inf | ((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1))) |
| 24.0ms | x | @ | inf | ((copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (+ (* (/ (fabs x) x) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (/ (fabs x) x) (+ (* x x) 1) (sqrt (+ (* x x) 1))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 184 | 646 |
| 1 | 595 | 606 |
| 2 | 2437 | 586 |
| 0 | 8448 | 543 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(fabs x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(log x) |
(+ x (fabs x)) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ (fabs x) (* -1 x)) |
(/ (fabs x) x) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* -1 x) |
(* x (- (/ (fabs x) x) 1)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) |
(fabs x) |
(fabs.f64 x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(log x) |
(log.f64 x) |
(+ x (fabs x)) |
(+.f64 (fabs.f64 x) x) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ (fabs x) (* -1 x)) |
(-.f64 (fabs.f64 x) x) |
(/ (fabs x) x) |
(/.f64 (fabs.f64 x) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (log.f64 x) (/.f64 (fabs.f64 x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 x) |
(neg.f64 x) |
(* x (- (/ (fabs x) x) 1)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (fma.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64) #s(literal -1/2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 234 |
| 0 | 49 | 202 |
| 1 | 135 | 202 |
| 0 | 856 | 197 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(/.f64 (fabs.f64 x) x) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (cosh.f64 (asinh.f64 x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (cosh.f64 (asinh.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (cosh.f64 (asinh.f64 x)) (-.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) (fabs.f64 x))) |
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) |
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 (neg.f64 (neg.f64 x))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))) (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x))) |
(/.f64 (neg.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))))) |
(/.f64 (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (*.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(fma.f64 (fabs.f64 x) (/.f64 x x) x) |
(fma.f64 x (/.f64 (fabs.f64 x) x) x) |
(-.f64 (/.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 (fabs.f64 x) x)) x)) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 (fabs.f64 x) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))))) |
(+.f64 (*.f64 (/.f64 (fabs.f64 x) x) x) x) |
(+.f64 x (*.f64 (/.f64 (fabs.f64 x) x) x)) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x)) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x)))) (log.f64 (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))))) |
(log.f64 (+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) |
(/.f64 (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 x x)) (-.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x)))) (neg.f64 (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))))) |
(/.f64 (-.f64 (*.f64 x x) #s(approx (+ (* x x) 1) (*.f64 x x))) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (-.f64 (*.f64 x x) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))) |
(fma.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (fabs.f64 x)) |
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) (/.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (-.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))))) |
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x))))) (/.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 3/2 binary64)) (fma.f64 x x (-.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) (*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)))))) |
(+.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (fabs.f64 x)) |
(+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) x) (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 3 binary64)) #s(literal 1 binary64)) x) (+.f64 (+.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 (fabs.f64 x) x))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (-.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64))) |
(/.f64 (*.f64 x (-.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 3 binary64)) #s(literal 1 binary64))) (+.f64 (+.f64 (pow.f64 (/.f64 (fabs.f64 x) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (/.f64 (fabs.f64 x) x))) |
(*.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (/.f64 (fabs.f64 x) x)) |
(/.f64 (*.f64 (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) (neg.f64 x)) |
(/.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) x) |
(/.f64 (neg.f64 (neg.f64 (fabs.f64 x))) (neg.f64 (neg.f64 x))) |
(/.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x)) |
(/.f64 (fabs.f64 x) x) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 x)) x)) |
(neg.f64 (/.f64 (fabs.f64 x) (neg.f64 x))) |
(*.f64 (neg.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) (neg.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(*.f64 (fabs.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) (fabs.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(*.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(pow.f64 (*.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 1/2 binary64)) |
(pow.f64 (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 2 binary64)) |
(pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1 binary64)) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(sqrt.f64 (*.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(*.f64 (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (* x x) 1) (*.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) 1) (*.f64 x x))) #s(literal 1/2 binary64))) |
Compiled 4 105 to 804 computations (80.4% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 168 | 3 | 171 |
| Fresh | 0 | 0 | 0 |
| Picked | 3 | 2 | 5 |
| Done | 0 | 0 | 0 |
| Total | 171 | 5 | 176 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 25.3% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
| ▶ | 29.9% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
| ▶ | 47.0% | (copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
| ✓ | 99.8% | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
| ✓ | 8.6% | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Compiled 80 to 52 computations (35% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) | |
| cost-diff | 0 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) | |
| cost-diff | 1 | (fabs.f64 x) | |
| cost-diff | 0 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) | |
| cost-diff | 1 | (fabs.f64 x) | |
| cost-diff | 2 | (-.f64 (fabs.f64 x) x) | |
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) | |
| cost-diff | 0 | (copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) | |
| cost-diff | 4 | (*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 208 |
| 0 | 39 | 194 |
| 1 | 61 | 170 |
| 2 | 159 | 128 |
| 3 | 566 | 120 |
| 4 | 1657 | 120 |
| 0 | 8130 | 114 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))) |
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)) |
(-.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)) |
(+.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
x |
| Outputs |
|---|
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
(copysign.f64 (asinh.f64 x) x) |
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) |
(asinh.f64 x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
x |
(sqrt.f64 x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) #s(literal 0 binary64)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) #s(literal 0 binary64)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) #s(literal 0 binary64))) |
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)) |
#s(approx (* (- (/ (fabs x) x) 1) x) #s(literal 0 binary64)) |
(-.f64 (fabs.f64 x) x) |
#s(literal 0 binary64) |
(fabs.f64 x) |
x |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)) |
#s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (fabs.f64 x) x) |
(*.f64 #s(literal 2 binary64) x) |
(fabs.f64 x) |
x |
x |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.0 | #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)) | |
| accuracy | 14.024165837275875 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) | |
| accuracy | 15.025254506071574 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.0 | #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)) | |
| accuracy | 14.024165837275875 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) | |
| accuracy | 29.430771869006488 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))) | |
| accuracy | 0.0 | (copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) | |
| accuracy | 0.0 | (sqrt.f64 x) | |
| accuracy | 0.05078125 | (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) | |
| accuracy | 0.2421875 | (*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
| 58.0ms | 135× | 0 | invalid |
| 19.0ms | 42× | 1 | valid |
| 11.0ms | 18× | 2 | valid |
| 9.0ms | 61× | 0 | valid |
Compiled 116 to 20 computations (82.8% saved)
ival-sub: 39.0ms (46.4% of total)ival-log: 13.0ms (15.5% of total)ival-hypot: 6.0ms (7.1% of total)ival-asinh: 5.0ms (5.9% of total)ival-copysign: 5.0ms (5.9% of total)ival-mult: 5.0ms (5.9% of total)ival-add: 4.0ms (4.8% of total)ival-sqrt: 3.0ms (3.6% of total)adjust: 2.0ms (2.4% of total)ival-div: 2.0ms (2.4% of total)ival-fabs: 1.0ms (1.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) |
(sqrt.f64 x) |
(-.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))) |
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)) |
| Outputs |
|---|
x |
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(sqrt x) |
(fabs x) |
(+ (fabs x) (* -1 x)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ x (fabs x)) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(* -1 x) |
(* x (- (/ (fabs x) x) 1)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* -1 (* x (pow (sqrt -1) 2))) |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x)) |
| 2.0ms | x | @ | inf | ((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x)) |
| 2.0ms | x | @ | 0 | ((* (sqrt x) (sqrt x)) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (sqrt x) (- (fabs x) x) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (fabs x) (sqrt (+ (* x x) 1))) (* (- (/ (fabs x) x) 1) x) (+ (* (/ (fabs x) x) x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 232 | 723 |
| 1 | 717 | 653 |
| 2 | 2843 | 624 |
| 0 | 8452 | 583 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(sqrt x) |
(fabs x) |
(+ (fabs x) (* -1 x)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(+ x (fabs x)) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(* -1 x) |
(* x (- (/ (fabs x) x) 1)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* -1 (* x (pow (sqrt -1) 2))) |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
| Outputs |
|---|
x |
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) #s(literal 1/6 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -5/112 binary64) (*.f64 x x) #s(literal 3/40 binary64)) x) x) #s(literal 1/6 binary64)) x) |
(sqrt x) |
(sqrt.f64 x) |
(fabs x) |
(fabs.f64 x) |
(+ (fabs x) (* -1 x)) |
(-.f64 (fabs.f64 x) x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ x (fabs x)) |
(+.f64 (fabs.f64 x) x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(-.f64 (-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(* -1 x) |
(neg.f64 x) |
(* x (- (/ (fabs x) x) 1)) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (log.f64 x) (/.f64 (fabs.f64 x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x))) |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 (* x (pow (sqrt -1) 2))) |
x |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(-.f64 (-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(-.f64 (-.f64 (-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(-.f64 (-.f64 (+.f64 (log.f64 #s(literal -2 binary64)) (-.f64 (/.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 12 binary64))) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(*.f64 (sqrt.f64 x) #s(literal 1 binary64)) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) x) #s(literal -1/6 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1/2 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 199 |
| 0 | 39 | 145 |
| 0 | 139 | 141 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
(asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) |
(sqrt.f64 x) |
(-.f64 (fabs.f64 x) x) |
(fabs.f64 x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x))) |
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)) |
| Outputs |
|---|
x |
(copysign.f64 (asinh.f64 x) x) |
(asinh.f64 x) |
(log.f64 (+.f64 (cosh.f64 (asinh.f64 x)) x)) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (fma.f64 x x (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (+.f64 x x)) |
(-.f64 x x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x)))) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x))) |
#s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 x x)) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) |
Compiled 1 512 to 336 computations (77.8% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 61 | 3 | 64 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 2 | 0 | 2 |
| Total | 65 | 4 | 69 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 23.8% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
| ✓ | 29.9% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
| ▶ | 99.8% | (copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
| ▶ | 51.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
Compiled 76 to 47 computations (38.2% saved)
| 1× | egg-herbie |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) | |
| cost-diff | 0 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) | |
| cost-diff | 0 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) | |
| cost-diff | 0 | #s(approx (* (sqrt x) (sqrt x)) x) | |
| cost-diff | 0 | (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) | |
| cost-diff | 0 | (copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) | |
| cost-diff | 0 | #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) | |
| cost-diff | 0 | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 152 |
| 0 | 36 | 132 |
| 1 | 62 | 125 |
| 2 | 201 | 109 |
| 3 | 819 | 109 |
| 4 | 2103 | 109 |
| 5 | 6856 | 109 |
| 0 | 8488 | 106 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/6 binary64) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) |
#s(approx (* (sqrt x) (sqrt x)) x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) x) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/6 binary64) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) |
#s(approx (* (sqrt x) (sqrt x)) x) |
x |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) |
#s(approx (+ (* (/ (fabs x) x) x) x) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
Found 11 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 0.0 | #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) | |
| accuracy | 14.024165837275875 | (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) | |
| accuracy | 15.025254506071574 | #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) | |
| accuracy | 0.0 | (copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) | |
| accuracy | 0.0 | #s(approx (* (sqrt x) (sqrt x)) x) | |
| accuracy | 0.05078125 | (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) | |
| accuracy | 0.0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 0.0 | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) | |
| accuracy | 0.01953125 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) | |
| accuracy | 14.496913677633403 | #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
| 46.0ms | 135× | 0 | invalid |
| 21.0ms | 61× | 0 | valid |
| 17.0ms | 42× | 1 | valid |
| 13.0ms | 18× | 2 | valid |
Compiled 92 to 22 computations (76.1% saved)
ival-log: 29.0ms (34.7% of total)ival-mult: 16.0ms (19.2% of total)ival-hypot: 6.0ms (7.2% of total)ival-asinh: 5.0ms (6% of total)ival-copysign: 5.0ms (6% of total)ival-add: 5.0ms (6% of total)const: 4.0ms (4.8% of total)ival-pow: 4.0ms (4.8% of total)adjust: 3.0ms (3.6% of total)ival-sqrt: 3.0ms (3.6% of total)ival-div: 2.0ms (2.4% of total)ival-fabs: 1.0ms (1.2% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) |
#s(approx (* (sqrt x) (sqrt x)) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(pow x 3) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fabs x) |
(+ x (fabs x)) |
(* 2 x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(* -1/6 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2))))) |
(* -1 (* x (pow (sqrt -1) 2))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt x)) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ (fabs x) x) x) x) (+ x x)) |
| 1.0ms | x | @ | inf | ((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt x)) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ (fabs x) x) x) x) (+ x x)) |
| 1.0ms | x | @ | 0 | ((copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (+ (* (pow x 3) -1/6) x) (pow x 3) (copysign (asinh (* (sqrt x) (sqrt x))) x) (asinh (* (sqrt x) (sqrt x))) (* (sqrt x) (sqrt x)) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ (fabs x) x) x) x) (+ x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 233 | 736 |
| 1 | 719 | 670 |
| 2 | 2858 | 640 |
| 0 | 8498 | 599 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(pow x 3) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fabs x) |
(+ x (fabs x)) |
(* 2 x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(* -1/6 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2))))) |
(* -1 (* x (pow (sqrt -1) 2))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
| Outputs |
|---|
(copysign (log (+ x (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x) |
x |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 3/40 (pow x 2)) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 #s(literal 3/40 binary64) (*.f64 x x)) #s(literal 1/6 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 3/40 (* -5/112 (pow x 2)))) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 #s(literal -5/112 binary64) (*.f64 x x) #s(literal 3/40 binary64)) x) x) #s(literal 1/6 binary64)) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (*.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(fabs x) |
(fabs.f64 x) |
(+ x (fabs x)) |
(+.f64 (fabs.f64 x) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* 1/4 (/ 1 (pow x 2))))) (/ 3/32 (pow x 4))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6)))))) (/ 3/32 (pow x 4))) |
(-.f64 (-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(* -1/6 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/6)) |
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (log.f64 x) (/.f64 (fabs.f64 x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (+.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 x x #s(literal -1 binary64)) x) #s(literal -1/2 binary64) (fabs.f64 x)) x) (log.f64 x))) |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(copysign (log (+ (sqrt (+ 1 (* (pow x 2) (pow (sqrt -1) 4)))) (* -1 (* x (pow (sqrt -1) 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) x)) x) |
(+ (log (* 2 (pow (sqrt -1) 2))) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (* 1/4 (/ 1 (* (pow x 2) (pow (sqrt -1) 4)))))) |
(-.f64 (-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))))) (/ 3/32 (* (pow x 4) (pow (sqrt -1) 8)))) |
(-.f64 (-.f64 (-.f64 (log.f64 #s(literal -2 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(- (+ (log (* 2 (pow (sqrt -1) 2))) (+ (* -1 (log (/ -1 x))) (+ (/ 1/4 (* (pow x 2) (pow (sqrt -1) 4))) (* 5/96 (/ 1 (* (pow x 6) (pow (sqrt -1) 12))))))) (* 3/32 (/ 1 (* (pow x 4) (pow (sqrt -1) 8))))) |
(-.f64 (-.f64 (+.f64 (log.f64 #s(literal -2 binary64)) (-.f64 (/.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 12 binary64))) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x)))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (/.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 8 binary64))) (pow.f64 x #s(literal 4 binary64)))) |
(* -1 (* (pow x 3) (- 1/6 (/ 1 (pow x 2))))) |
(*.f64 (pow.f64 (neg.f64 x) #s(literal 3 binary64)) (-.f64 #s(literal 1/6 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x))) |
(* -1 (* x (pow (sqrt -1) 2))) |
x |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (/.f64 (fma.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) #s(literal 2 binary64) (*.f64 #s(literal -3 binary64) (fabs.f64 x))) x) #s(literal -1/6 binary64) (fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1/2 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal 1 binary64)) x) |
(* -1 (* x (- (* -1 (/ (fabs x) x)) 1))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 147 |
| 0 | 36 | 111 |
| 1 | 141 | 77 |
| 0 | 1080 | 77 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) |
#s(approx (* (sqrt x) (sqrt x)) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x))) |
#s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) x) |
#s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)))) (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 x) x))) (neg.f64 (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)))))))) |
(/.f64 (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 (neg.f64 x) x)) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x))) |
(/.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64))) (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 4 binary64)))))) |
(/.f64 (fma.f64 #s(literal -1/216 binary64) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))))) |
(fma.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)) x) |
(fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x) |
(fma.f64 (*.f64 #s(literal -1/6 binary64) x) (*.f64 x x) x) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal -1/6 binary64)) x) |
(fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x) |
(fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(fma.f64 x (*.f64 (*.f64 x x) #s(literal -1/6 binary64)) x) |
(-.f64 (/.f64 (*.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x))) (/.f64 (*.f64 x x) (fma.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)) (neg.f64 x)))) |
(-.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) (neg.f64 x)) |
(-.f64 x (*.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 3 binary64)))) |
(-.f64 x (*.f64 (neg.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal -1/6 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))))))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/36 binary64) (pow.f64 x #s(literal 6 binary64)) (*.f64 x (-.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)))))))) |
(+.f64 (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(+.f64 x (*.f64 #s(literal -1/6 binary64) (pow.f64 x #s(literal 3 binary64)))) |
(*.f64 (*.f64 (*.f64 x x) (neg.f64 (sqrt.f64 x))) (neg.f64 (sqrt.f64 x))) |
(*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 x))) (*.f64 (neg.f64 x) (neg.f64 (sqrt.f64 x)))) |
(*.f64 (*.f64 (neg.f64 x) (sqrt.f64 x)) (*.f64 (neg.f64 x) (sqrt.f64 x))) |
(*.f64 (*.f64 x (neg.f64 (sqrt.f64 x))) (*.f64 x (neg.f64 (sqrt.f64 x)))) |
(*.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 x)) (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 x))) |
(*.f64 (*.f64 (neg.f64 (sqrt.f64 x)) x) (*.f64 (neg.f64 (sqrt.f64 x)) x)) |
(*.f64 (*.f64 (sqrt.f64 x) (neg.f64 x)) (*.f64 (sqrt.f64 x) (neg.f64 x))) |
(*.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (neg.f64 (pow.f64 x #s(literal 3/2 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (fabs.f64 (pow.f64 x #s(literal 3/2 binary64)))) |
(*.f64 (*.f64 x (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (sqrt.f64 x))) |
(*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) |
(*.f64 (pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 3 binary64)) (pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 3 binary64))) |
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64))) |
(*.f64 (neg.f64 (sqrt.f64 x)) (*.f64 (neg.f64 (sqrt.f64 x)) (*.f64 x x))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) x)) |
(*.f64 (*.f64 x x) x) |
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x x))) |
(*.f64 x (*.f64 x x)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 3 binary64)) |
(pow.f64 (*.f64 x (sqrt.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (sqrt.f64 x) x) #s(literal 2 binary64)) |
(pow.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) |
(pow.f64 (sqrt.f64 x) #s(literal 6 binary64)) |
(pow.f64 x #s(literal 3 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 3 binary64)))) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) |
(log.f64 (+.f64 (cosh.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x))) #s(approx (* (sqrt x) (sqrt x)) x))) |
#s(approx (* (sqrt x) (sqrt x)) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64)))) x) |
(log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64)))) |
#s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64))) |
#s(approx (+ (* (/ (fabs x) x) x) x) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
Compiled 2 433 to 537 computations (77.9% saved)
8 alts after pruning (5 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 100 | 5 | 105 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 1 | 1 |
| Total | 101 | 8 | 109 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 23.8% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
| ✓ | 29.9% | (copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
| ✓ | 99.8% | (copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
| 25.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x) | |
| 25.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x) | |
| 51.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x) | |
| 51.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x) | |
| 51.3% | (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
Compiled 446 to 184 computations (58.7% saved)
| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 x x)))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (* (- (/ (fabs x) x) 1) x) (-.f64 (fabs.f64 x) x)))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) #s(approx (+ (* (/ (fabs x) x) x) x) (+.f64 (fabs.f64 x) x)))) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (fma.f64 (/.f64 (fabs.f64 x) x) x x))) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) x) |
(copysign.f64 (log.f64 #s(approx (+ (fabs x) (sqrt (+ (* x x) 1))) (*.f64 (-.f64 (/.f64 (fabs.f64 x) x) #s(literal 1 binary64)) x))) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (asinh.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x))) x) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
2 calls:
| 5.0ms | x |
| 4.0ms | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 99.8% | 1 | x |
Compiled 13 to 10 computations (23.1% saved)
| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
| Outputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
2 calls:
| 2.0ms | x |
| 2.0ms | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 57.6% | 2 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 57.6% | 2 | x |
Compiled 13 to 10 computations (23.1% saved)
Total -16.6b remaining (-53.4%)
Threshold costs -16.6b (-53.4%)
| Inputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 x x) (*.f64 x #s(literal -1/6 binary64)) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (sqrt.f64 x) x) (*.f64 (sqrt.f64 x) x)) #s(literal -1/6 binary64) x)) x) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) (sqrt.f64 x)) (sqrt.f64 x)) #s(literal -1/6 binary64) x)) x) |
| Outputs |
|---|
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
2 calls:
| 5.0ms | x |
| 2.0ms | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.3% | 1 | x |
| 51.3% | 1 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
Compiled 13 to 10 computations (23.1% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.027098290938482716 | 8.227728623561962 |
Compiled 15 to 13 computations (13.3% saved)
| 1× | egg-herbie |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 62 |
| 1 | 48 | 61 |
| 2 | 93 | 61 |
| 3 | 174 | 61 |
| 4 | 232 | 61 |
| 5 | 492 | 61 |
| 6 | 3324 | 61 |
| 7 | 7845 | 61 |
| 1× | node limit |
| Inputs |
|---|
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(if (<=.f64 (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) #s(literal 3602879701896397/72057594037927936 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 #s(approx (* (sqrt x) (sqrt x)) x)) x) |
(if (<=.f64 (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) #s(literal 3602879701896397/72057594037927936 binary64)) (copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x)) |
(copysign.f64 #s(approx (asinh (* (sqrt x) (sqrt x))) (fma.f64 (*.f64 #s(literal -1/6 binary64) (*.f64 x x)) x x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 169 | 586 |
| 1 | 568 | 548 |
| 2 | 2395 | 527 |
| 0 | 8393 | 487 |
| 0 | 27 | 147 |
| 0 | 36 | 111 |
| 1 | 141 | 77 |
| 0 | 1080 | 77 |
| 0 | 232 | 723 |
| 1 | 717 | 653 |
| 2 | 2843 | 624 |
| 0 | 8452 | 583 |
| 0 | 30 | 234 |
| 0 | 49 | 202 |
| 1 | 135 | 202 |
| 0 | 856 | 197 |
| 0 | 9 | 44 |
| 0 | 16 | 32 |
| 1 | 56 | 24 |
| 0 | 406 | 23 |
| 1× | fuel |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 74 to 33 computations (55.4% saved)
Compiled 212 to 104 computations (50.9% saved)
Loading profile data...