Average Error: 0.2 → 0.1
Time: 15.5s
Precision: 64
Internal Precision: 576
\[\left(x \cdot y\right) \cdot \frac{1}{\cos z}\]
\[x \cdot \frac{y}{\cos z}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\left(x \cdot y\right) \cdot \frac{1}{\cos z}\]
  2. Applied simplify0.1

    \[\leadsto \color{blue}{\frac{x \cdot y}{\cos z}}\]
  3. Using strategy rm
  4. Applied *-un-lft-identity0.1

    \[\leadsto \frac{x \cdot y}{\color{blue}{1 \cdot \cos z}}\]
  5. Applied times-frac0.1

    \[\leadsto \color{blue}{\frac{x}{1} \cdot \frac{y}{\cos z}}\]
  6. Applied simplify0.1

    \[\leadsto \color{blue}{x} \cdot \frac{y}{\cos z}\]

Runtime

Time bar (total: 15.5s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x y z)
  :name " x * y * (1 /cos(z))"
  (* (* x y) (/ 1 (cos z))))