Average Error: 0.2 → 0
Time: 10.2s
Precision: 64
Internal Precision: 576
\[\sqrt{a} \cdot {a}^{2}\]
\[{a}^{\left(2 + \frac{1}{2}\right)}\]

Error

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\sqrt{a} \cdot {a}^{2}\]
  2. Initial simplification0.2

    \[\leadsto \left(a \cdot a\right) \cdot \sqrt{a}\]
  3. Using strategy rm
  4. Applied pow1/20.2

    \[\leadsto \left(a \cdot a\right) \cdot \color{blue}{{a}^{\frac{1}{2}}}\]
  5. Applied pow20.2

    \[\leadsto \color{blue}{{a}^{2}} \cdot {a}^{\frac{1}{2}}\]
  6. Applied pow-prod-up0

    \[\leadsto \color{blue}{{a}^{\left(2 + \frac{1}{2}\right)}}\]
  7. Final simplification0

    \[\leadsto {a}^{\left(2 + \frac{1}{2}\right)}\]

Runtime

Time bar (total: 10.2s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (a)
  :name "sqrt(a)*pow(a,2)"
  (* (sqrt a) (pow a 2)))