Average Error: 23.8 → 0.2
Time: 7.7s
Precision: 64
Internal Precision: 320
\[\sqrt{\left(x \cdot x\right) \cdot x}\]
\[\left|x\right| \cdot \sqrt{x}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 23.8

    \[\sqrt{\left(x \cdot x\right) \cdot x}\]
  2. Applied simplify23.8

    \[\leadsto \color{blue}{\sqrt{{x}^{3}}}\]
  3. Using strategy rm
  4. Applied unpow323.8

    \[\leadsto \sqrt{\color{blue}{\left(x \cdot x\right) \cdot x}}\]
  5. Applied sqrt-prod11.7

    \[\leadsto \color{blue}{\sqrt{x \cdot x} \cdot \sqrt{x}}\]
  6. Applied simplify0.2

    \[\leadsto \color{blue}{\left|x\right|} \cdot \sqrt{x}\]

Runtime

Time bar (total: 7.7s)Debug log

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