Average Error: 0.4 → 0.0
Time: 12.6s
Precision: 64
Internal Precision: 576
\[\frac{2 \cdot \tan a}{1 - \tan a \cdot \tan a}\]
\[\tan \left(2 \cdot a\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.4

    \[\frac{2 \cdot \tan a}{1 - \tan a \cdot \tan a}\]
  2. Using strategy rm
  3. Applied 2-tan0.0

    \[\leadsto \color{blue}{\tan \left(2 \cdot a\right)}\]
  4. Final simplification0.0

    \[\leadsto \tan \left(2 \cdot a\right)\]

Runtime

Time bar (total: 12.6s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (a)
  :name "(2*tan(a))/(1-tan(a)*tan(a))"
  (/ (* 2 (tan a)) (- 1 (* (tan a) (tan a)))))